Skip to content

Commit 1c8bcb4

Browse files
committed
Merge branch 'bumping-cryptography-upper-bound' into release-1.15.0
2 parents 7d1c16d + 16dcb22 commit 1c8bcb4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

setup.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,13 @@
7575
'requests>=2.0.0,<3',
7676
'PyJWT[crypto]>=1.0.0,<3',
7777

78-
'cryptography>=0.6,<4',
78+
'cryptography>=0.6,<38',
7979
# load_pem_private_key() is available since 0.6
8080
# https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst#06---2014-09-29
8181
#
82-
# Not sure what should be used as an upper bound here
83-
# https://github.com/pyca/cryptography/issues/5532
84-
# We will go with "<4" for now, which is also what our another dependency,
85-
# pyjwt, currently use.
82+
# And we will use the cryptography (X+3).0.0 as the upper bound,
83+
# based on their latest deprecation policy
84+
# https://cryptography.io/en/latest/api-stability/#deprecation
8685

8786
"mock;python_version<'3.3'",
8887
]

0 commit comments

Comments
 (0)