Skip to content

Commit 54becc0

Browse files
committed
update constraints
1 parent 699f0a7 commit 54becc0

6 files changed

Lines changed: 37 additions & 5 deletions

File tree

packages/google-auth/setup.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
)
2929

3030
requests_extra_require = [
31-
"requests >= 2.20.0, < 3.0.0; python_version < '3.11'",
32-
"requests >= 2.25.0, < 3.0.0; python_version >= '3.11'",
31+
"requests >= 2.20.0, < 3.0.0; python_version < '3.14'",
32+
"requests >= 2.25.0, < 3.0.0; python_version >= '3.14'",
3333
]
3434

3535
aiohttp_extra_require = [
@@ -43,9 +43,15 @@
4343
reauth_extra_require = ["pyu2f>=0.1.5"]
4444

4545
# TODO(https://github.com/googleapis/google-auth-library-python/issues/1738): Add bounds for pyopenssl dependency.
46-
enterprise_cert_extra_require = ["pyopenssl>=23.2.0"]
46+
enterprise_cert_extra_require = [
47+
"pyopenssl>=23.2.0",
48+
"urllib3>=1.26.0",
49+
]
4750

48-
pyopenssl_extra_require = ["pyopenssl>=23.2.0"]
51+
pyopenssl_extra_require = [
52+
"pyopenssl>=23.2.0",
53+
"urllib3>=1.26.0",
54+
]
4955

5056
# TODO(https://github.com/googleapis/google-auth-library-python/issues/1739): Add bounds for urllib3 and packaging dependencies.
5157
urllib3_extra_require = ["urllib3", "packaging"]
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1+
# This constraints file is used to check that lower bounds
2+
# are correct in setup.py for all dependencies and regular extras on Python 3.11
3+
pyasn1-modules==0.2.1
4+
setuptools==40.3.0
5+
cryptography==38.0.3
6+
aiohttp==3.9.0
7+
requests==2.25.0
8+
pyjwt==2.0
19
urllib3>2.0.0
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1+
# This constraints file is used to check that lower bounds
2+
# are correct in setup.py for all dependencies and regular extras on Python 3.12
3+
pyasn1-modules==0.2.1
4+
setuptools==40.3.0
5+
cryptography==38.0.3
6+
aiohttp==3.9.0
7+
requests==2.25.0
8+
pyjwt==2.0
19
urllib3>2.0.0
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This constraints file is used to check that lower bounds
2+
# are correct in setup.py for all dependencies and regular extras on Python 3.13
3+
pyasn1-modules==0.2.1
4+
setuptools==40.3.0
5+
cryptography==38.0.3
6+
aiohttp==3.9.0
7+
requests==2.20.0
8+
pyjwt==2.0

packages/google-auth/testing/constraints-extras-3.10.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ pyopenssl==23.2.0
88
pyu2f==0.1.5
99
rsa==4.0
1010
aiohttp==3.8.0
11-
requests==2.20.0
11+
requests==2.25.0
12+
urllib3==1.26.0

packages/google-auth/testing/constraints-extras-3.14.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ pyu2f==0.1.5
99
rsa==4.0
1010
aiohttp==3.9.0
1111
requests==2.25.0
12+
urllib3==1.26.0

0 commit comments

Comments
 (0)