Skip to content

Commit 2ec4ee2

Browse files
JordanPbusunkim96
authored andcommitted
setup.py: set an upper bound on dependencies version (#352)
This should make this library more robust in case of breaking changes in one of its dependencies.
1 parent 7a51682 commit 2ec4ee2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/google-auth/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919

2020

2121
DEPENDENCIES = (
22-
'cachetools>=2.0.0',
22+
'cachetools>=2.0.0,<3.0',
2323
'pyasn1-modules>=0.2.1',
24-
'rsa>=3.1.4',
24+
'rsa>=3.1.4,<4.0',
2525
'setuptools>=40.3.0',
2626
'six>=1.9.0',
2727
)

packages/google-auth/tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ deps =
77
flask
88
mock
99
oauth2client
10-
pytest
10+
pytest<5.0
1111
pytest-cov
1212
pytest-localserver
1313
requests

0 commit comments

Comments
 (0)