Skip to content

Commit 368a2ad

Browse files
authored
Denylist ecdsa 0.15 in setup.py to allow for 0.16 to be installed.
The previous pull request #192 only changed the pin in requirements.txt and not in setup.py, so the ecdsa<0.15 restriction would actually be used by pip.
1 parent a2a4c31 commit 368a2ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def _cryptography_version():
3838
'pycrypto': ['pycrypto >=2.6.0, <2.7.0'] + pyasn1,
3939
'pycryptodome': ['pycryptodome >=3.3.1, <4.0.0'] + pyasn1,
4040
}
41-
legacy_backend_requires = ['ecdsa <0.15', 'rsa'] + pyasn1
41+
legacy_backend_requires = ['ecdsa != 0.15', 'rsa'] + pyasn1
4242
install_requires = ['six <2.0']
4343

4444
# TODO: work this into the extras selection instead.
@@ -78,7 +78,7 @@ def _cryptography_version():
7878
],
7979
tests_require=[
8080
'six',
81-
'ecdsa<0.15',
81+
'ecdsa != 0.15',
8282
'pytest',
8383
'pytest-cov',
8484
'pytest-runner',

0 commit comments

Comments
 (0)