1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-27 19:42:53 +03:00

Temporarily modify dns_common so certbot-dns-dnsimple relies on the latest version

This commit is contained in:
Erica Portnoy
2020-06-18 14:12:30 -07:00
parent 51c9df879d
commit 8632064ee7
5 changed files with 6 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ ACCOUNT_URL = 'https://dnsimple.com/user'
@zope.interface.implementer(interfaces.IAuthenticator)
@zope.interface.provider(interfaces.IPluginFactory)
class Authenticator(dns_common.DNSAuthenticator):
class Authenticator(dns_common.DNSAuthenticator2):
"""DNS Authenticator for DNSimple
This Authenticator uses the DNSimple v2 API to fulfill a dns-01 challenge.

View File

@@ -1,3 +1,3 @@
# Remember to update setup.py to match the package versions below.
acme[dev]==0.31.0
certbot[dev]==1.1.0
-e certbot[dev]

View File

@@ -19,7 +19,7 @@ install_requires = [
if not os.environ.get('EXCLUDE_CERTBOT_DEPS'):
install_requires.extend([
'acme>=0.31.0',
'certbot>=1.1.0',
'certbot>=1.6.0.dev0',
])
elif 'bdist_wheel' in sys.argv[1:]:
raise RuntimeError('Unset EXCLUDE_CERTBOT_DEPS when building wheels '

View File

@@ -21,11 +21,11 @@ logger = logging.getLogger(__name__)
@zope.interface.implementer(interfaces.IAuthenticator)
@zope.interface.provider(interfaces.IPluginFactory)
class DNSAuthenticator(common.Plugin):
class DNSAuthenticator2(common.Plugin):
"""Base class for DNS Authenticators"""
def __init__(self, config, name):
super(DNSAuthenticator, self).__init__(config, name)
super(DNSAuthenticator2, self).__init__(config, name)
self._attempt_cleanup = False

View File

@@ -21,7 +21,7 @@ from certbot.tests import util as test_util
class DNSAuthenticatorTest(test_util.TempDirTestCase, dns_test_common.BaseAuthenticatorTest):
# pylint: disable=protected-access
class _FakeDNSAuthenticator(dns_common.DNSAuthenticator):
class _FakeDNSAuthenticator(dns_common.DNSAuthenticator2):
_setup_credentials = mock.MagicMock()
_perform = mock.MagicMock()
_cleanup = mock.MagicMock()