mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 06:15:36 -04:00
Bump acme version in DNS plugins
This commit is contained in:
parent
91a50506c5
commit
f840f92c46
20 changed files with 24 additions and 24 deletions
|
|
@ -12,7 +12,7 @@ import josepy as jose
|
|||
|
||||
from acme import errors
|
||||
# pylint: disable=unused-import, no-name-in-module
|
||||
from acme.magic_typing import Callable, Union, Tuple
|
||||
from acme.magic_typing import Callable, Union, Tuple, Optional
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
|
@ -138,8 +138,8 @@ def probe_sni(name, host, port=443, timeout=300,
|
|||
host_protocol_agnostic = host
|
||||
if host == '::' or host == '0':
|
||||
# https://github.com/python/typeshed/pull/2136
|
||||
# while PR is not merged, it can't be None
|
||||
host_protocol_agnostic = ''
|
||||
# while PR is not merged, we need to ignore
|
||||
host_protocol_agnostic = None
|
||||
|
||||
try:
|
||||
# pylint: disable=star-args
|
||||
|
|
@ -150,8 +150,8 @@ def probe_sni(name, host, port=443, timeout=300,
|
|||
source_address[1]
|
||||
) if socket_kwargs else ""
|
||||
)
|
||||
socket_tuple = (host_protocol_agnostic, port) # type: Tuple[str, int]
|
||||
sock = socket.create_connection(socket_tuple, **socket_kwargs)
|
||||
socket_tuple = (host_protocol_agnostic, port) # type: Tuple[Optional[str], int]
|
||||
sock = socket.create_connection(socket_tuple, **socket_kwargs) # type: ignore
|
||||
except socket.error as error:
|
||||
raise errors.Error(error)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
acme[dev]==0.21.1
|
||||
-e acme[dev]
|
||||
certbot[dev]==0.21.1
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ version = '0.25.0.dev0'
|
|||
# Remember to update local-oldest-requirements.txt when changing the minimum
|
||||
# acme/certbot version.
|
||||
install_requires = [
|
||||
'acme>=0.21.1',
|
||||
'acme>0.24.0',
|
||||
'certbot>=0.21.1',
|
||||
'cloudflare>=1.5.1',
|
||||
'mock',
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
acme[dev]==0.21.1
|
||||
-e acme[dev]
|
||||
certbot[dev]==0.21.1
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ version = '0.25.0.dev0'
|
|||
# Remember to update local-oldest-requirements.txt when changing the minimum
|
||||
# acme/certbot version.
|
||||
install_requires = [
|
||||
'acme>=0.21.1',
|
||||
'acme>0.24.0',
|
||||
'certbot>=0.21.1',
|
||||
'dns-lexicon>=2.2.1', # Support for >1 TXT record per name
|
||||
'mock',
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
acme[dev]==0.21.1
|
||||
-e acme[dev]
|
||||
certbot[dev]==0.21.1
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ version = '0.25.0.dev0'
|
|||
# Remember to update local-oldest-requirements.txt when changing the minimum
|
||||
# acme/certbot version.
|
||||
install_requires = [
|
||||
'acme>=0.21.1',
|
||||
'acme>0.24.0',
|
||||
'certbot>=0.21.1',
|
||||
'mock',
|
||||
'python-digitalocean>=1.11',
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
acme[dev]==0.21.1
|
||||
-e acme[dev]
|
||||
certbot[dev]==0.21.1
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ version = '0.25.0.dev0'
|
|||
# Remember to update local-oldest-requirements.txt when changing the minimum
|
||||
# acme/certbot version.
|
||||
install_requires = [
|
||||
'acme>=0.21.1',
|
||||
'acme>0.24.0',
|
||||
'certbot>=0.21.1',
|
||||
'dns-lexicon>=2.2.1', # Support for >1 TXT record per name
|
||||
'mock',
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
acme[dev]==0.21.1
|
||||
-e acme[dev]
|
||||
certbot[dev]==0.21.1
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ version = '0.25.0.dev0'
|
|||
# Remember to update local-oldest-requirements.txt when changing the minimum
|
||||
# acme/certbot version.
|
||||
install_requires = [
|
||||
'acme>=0.21.1',
|
||||
'acme>0.24.0',
|
||||
'certbot>=0.21.1',
|
||||
'dns-lexicon>=2.2.1', # Support for >1 TXT record per name
|
||||
'mock',
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
acme[dev]==0.21.1
|
||||
-e acme[dev]
|
||||
certbot[dev]==0.21.1
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ version = '0.25.0.dev0'
|
|||
# Remember to update local-oldest-requirements.txt when changing the minimum
|
||||
# acme/certbot version.
|
||||
install_requires = [
|
||||
'acme>=0.21.1',
|
||||
'acme>0.24.0',
|
||||
'certbot>=0.21.1',
|
||||
# 1.5 is the first version that supports oauth2client>=2.0
|
||||
'google-api-python-client>=1.5',
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
acme[dev]==0.21.1
|
||||
-e acme[dev]
|
||||
certbot[dev]==0.21.1
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ version = '0.25.0.dev0'
|
|||
# Remember to update local-oldest-requirements.txt when changing the minimum
|
||||
# acme/certbot version.
|
||||
install_requires = [
|
||||
'acme>=0.21.1',
|
||||
'acme>0.24.0',
|
||||
'certbot>=0.21.1',
|
||||
'dns-lexicon>=2.2.1', # Support for >1 TXT record per name
|
||||
'mock',
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
acme[dev]==0.21.1
|
||||
-e acme[dev]
|
||||
certbot[dev]==0.21.1
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ version = '0.25.0.dev0'
|
|||
# Remember to update local-oldest-requirements.txt when changing the minimum
|
||||
# acme/certbot version.
|
||||
install_requires = [
|
||||
'acme>=0.21.1',
|
||||
'acme>0.24.0',
|
||||
'certbot>=0.21.1',
|
||||
'dns-lexicon>=2.2.1', # Support for >1 TXT record per name
|
||||
'mock',
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
acme[dev]==0.21.1
|
||||
-e acme[dev]
|
||||
certbot[dev]==0.21.1
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ version = '0.25.0.dev0'
|
|||
# Remember to update local-oldest-requirements.txt when changing the minimum
|
||||
# acme/certbot version.
|
||||
install_requires = [
|
||||
'acme>=0.21.1',
|
||||
'acme>=0.24.0',
|
||||
'certbot>=0.21.1',
|
||||
'dnspython',
|
||||
'mock',
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ install_requires = [
|
|||
# This plugin works with an older version of acme, but Certbot does not.
|
||||
# 0.22.0 is specified here to work around
|
||||
# https://github.com/pypa/pip/issues/988.
|
||||
'acme>0.21.1',
|
||||
'acme>0.24.0',
|
||||
'certbot>0.21.1',
|
||||
'mock',
|
||||
'PyOpenSSL',
|
||||
|
|
|
|||
Loading…
Reference in a new issue