File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 1
- # -*- coding: utf-8 -*-
2
- #
3
1
# python-jose documentation build configuration file, created by
4
2
# sphinx-quickstart on Thu May 7 13:48:43 2015.
5
3
#
Original file line number Diff line number Diff line change 1
1
import binascii
2
2
import json
3
3
import zlib
4
+ from collections .abc import Mapping
4
5
from struct import pack
5
6
6
- try :
7
- from collections .abc import Mapping # Python 3
8
- except ImportError :
9
- from collections import Mapping # Python 2, will be deprecated in Python 3.8
10
-
11
7
from . import jwk
12
8
from .backends import get_random_bytes
13
9
from .constants import ALGORITHMS , ZIPS
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def get_packages(package):
22
22
23
23
pyasn1 = ["pyasn1" ]
24
24
extras_require = {
25
- "cryptography" : ["cryptography" ],
25
+ "cryptography" : ["cryptography>=3.4.0 " ],
26
26
"pycrypto" : ["pycrypto >=2.6.0, <2.7.0" ] + pyasn1 ,
27
27
"pycryptodome" : ["pycryptodome >=3.3.1, <4.0.0" ] + pyasn1 ,
28
28
}
You can’t perform that action at this time.
0 commit comments