mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 06:42:10 -04:00
Temporarily modify dns_common so certbot-dns-dnsimple relies on the latest version
This commit is contained in:
parent
51c9df879d
commit
8632064ee7
5 changed files with 6 additions and 6 deletions
|
|
@ -16,7 +16,7 @@ ACCOUNT_URL = 'https://dnsimple.com/user'
|
||||||
|
|
||||||
@zope.interface.implementer(interfaces.IAuthenticator)
|
@zope.interface.implementer(interfaces.IAuthenticator)
|
||||||
@zope.interface.provider(interfaces.IPluginFactory)
|
@zope.interface.provider(interfaces.IPluginFactory)
|
||||||
class Authenticator(dns_common.DNSAuthenticator):
|
class Authenticator(dns_common.DNSAuthenticator2):
|
||||||
"""DNS Authenticator for DNSimple
|
"""DNS Authenticator for DNSimple
|
||||||
|
|
||||||
This Authenticator uses the DNSimple v2 API to fulfill a dns-01 challenge.
|
This Authenticator uses the DNSimple v2 API to fulfill a dns-01 challenge.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
# Remember to update setup.py to match the package versions below.
|
# Remember to update setup.py to match the package versions below.
|
||||||
acme[dev]==0.31.0
|
acme[dev]==0.31.0
|
||||||
certbot[dev]==1.1.0
|
-e certbot[dev]
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ install_requires = [
|
||||||
if not os.environ.get('EXCLUDE_CERTBOT_DEPS'):
|
if not os.environ.get('EXCLUDE_CERTBOT_DEPS'):
|
||||||
install_requires.extend([
|
install_requires.extend([
|
||||||
'acme>=0.31.0',
|
'acme>=0.31.0',
|
||||||
'certbot>=1.1.0',
|
'certbot>=1.6.0.dev0',
|
||||||
])
|
])
|
||||||
elif 'bdist_wheel' in sys.argv[1:]:
|
elif 'bdist_wheel' in sys.argv[1:]:
|
||||||
raise RuntimeError('Unset EXCLUDE_CERTBOT_DEPS when building wheels '
|
raise RuntimeError('Unset EXCLUDE_CERTBOT_DEPS when building wheels '
|
||||||
|
|
|
||||||
|
|
@ -21,11 +21,11 @@ logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
@zope.interface.implementer(interfaces.IAuthenticator)
|
@zope.interface.implementer(interfaces.IAuthenticator)
|
||||||
@zope.interface.provider(interfaces.IPluginFactory)
|
@zope.interface.provider(interfaces.IPluginFactory)
|
||||||
class DNSAuthenticator(common.Plugin):
|
class DNSAuthenticator2(common.Plugin):
|
||||||
"""Base class for DNS Authenticators"""
|
"""Base class for DNS Authenticators"""
|
||||||
|
|
||||||
def __init__(self, config, name):
|
def __init__(self, config, name):
|
||||||
super(DNSAuthenticator, self).__init__(config, name)
|
super(DNSAuthenticator2, self).__init__(config, name)
|
||||||
|
|
||||||
self._attempt_cleanup = False
|
self._attempt_cleanup = False
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ from certbot.tests import util as test_util
|
||||||
class DNSAuthenticatorTest(test_util.TempDirTestCase, dns_test_common.BaseAuthenticatorTest):
|
class DNSAuthenticatorTest(test_util.TempDirTestCase, dns_test_common.BaseAuthenticatorTest):
|
||||||
# pylint: disable=protected-access
|
# pylint: disable=protected-access
|
||||||
|
|
||||||
class _FakeDNSAuthenticator(dns_common.DNSAuthenticator):
|
class _FakeDNSAuthenticator(dns_common.DNSAuthenticator2):
|
||||||
_setup_credentials = mock.MagicMock()
|
_setup_credentials = mock.MagicMock()
|
||||||
_perform = mock.MagicMock()
|
_perform = mock.MagicMock()
|
||||||
_cleanup = mock.MagicMock()
|
_cleanup = mock.MagicMock()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue