Skip to content

Commit

Permalink
fix(dependencies): Further restrict RSA versions (#532)
Browse files Browse the repository at this point in the history
Related to #528. RSA seems to have released another version without `python_requires` being enforced. This will guard against that for our package.
  • Loading branch information
crwilcox committed Jun 12, 2020
1 parent 85c2bac commit 46677a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -21,8 +21,8 @@
DEPENDENCIES = (
"cachetools>=2.0.0,<5.0",
"pyasn1-modules>=0.2.1",
# rsa 4.1, 4.1.1, 4.2 are broken on Py2: https://github.com/sybrenstuvel/python-rsa/issues/152
'rsa>=3.1.4,!=4.1,!=4.1.1,!=4.2,<5; python_version < "3"',
# rsa >= 4.1 no longer supports python 2 https://github.com/sybrenstuvel/python-rsa/issues/152
'rsa<4.1; python_version < "3"',
'rsa>=3.1.4,<5; python_version >= "3"',
"setuptools>=40.3.0",
"six>=1.9.0",
Expand Down

0 comments on commit 46677a0

Please sign in to comment.