Skip to content

Commit bdb8882

Browse files
authored
fix(dependencies): Further restrict RSA versions (#532)
Related to #528. RSA seems to have released another version without `python_requires` being enforced. This will guard against that for our package.
1 parent f8c6d52 commit bdb8882

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/google-auth/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
DEPENDENCIES = (
2222
"cachetools>=2.0.0,<5.0",
2323
"pyasn1-modules>=0.2.1",
24-
# rsa 4.1, 4.1.1, 4.2 are broken on Py2: https://github.com/sybrenstuvel/python-rsa/issues/152
25-
'rsa>=3.1.4,!=4.1,!=4.1.1,!=4.2,<5; python_version < "3"',
24+
# rsa >= 4.1 no longer supports python 2 https://github.com/sybrenstuvel/python-rsa/issues/152
25+
'rsa<4.1; python_version < "3"',
2626
'rsa>=3.1.4,<5; python_version >= "3"',
2727
"setuptools>=40.3.0",
2828
"six>=1.9.0",

0 commit comments

Comments
 (0)