Fix compatibility with cryptography 3.4.x

This commit is contained in:
Raphael Michel
2021-02-08 18:01:05 +01:00
parent 7b8ad1ebbe
commit 21fbf095cf
3 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ import struct
from cryptography.hazmat.backends.openssl.backend import Backend from cryptography.hazmat.backends.openssl.backend import Backend
from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PrivateKey from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PrivateKey
from cryptography.hazmat.primitives.serialization.base import ( from cryptography.hazmat.primitives.serialization import (
Encoding, NoEncryption, PrivateFormat, PublicFormat, load_pem_private_key, Encoding, NoEncryption, PrivateFormat, PublicFormat, load_pem_private_key,
load_pem_public_key, load_pem_public_key,
) )

View File

@@ -69,5 +69,5 @@ packaging
tlds>=2020041600 tlds>=2020041600
text-unidecode==1.* text-unidecode==1.*
protobuf==3.13.* protobuf==3.13.*
cryptography cryptography>=3.4.2
sepaxml==2.4.*,>=2.4.1 sepaxml==2.4.*,>=2.4.1

View File

@@ -155,7 +155,7 @@ setup(
'tlds>=2020041600', 'tlds>=2020041600',
'text-unidecode==1.*', 'text-unidecode==1.*',
'protobuf==3.13.*', 'protobuf==3.13.*',
'cryptography', 'cryptography>=3.4.2',
'sepaxml==2.4.*,>=2.4.1', 'sepaxml==2.4.*,>=2.4.1',
], ],
extras_require={ extras_require={