diff --git a/packages/google-auth/setup.py b/packages/google-auth/setup.py index 6b62efbb0b59..87e7c2502196 100644 --- a/packages/google-auth/setup.py +++ b/packages/google-auth/setup.py @@ -27,7 +27,7 @@ *cryptography_base_require, ) -requests_extra_require = ["requests >= 2.20.0, < 3.0.0"] +requests_extra_require = ["requests >= 2.30.0, < 3.0.0"] aiohttp_extra_require = ["aiohttp >= 3.8.0, < 4.0.0", *requests_extra_require] @@ -37,8 +37,10 @@ enterprise_cert_extra_require = cryptography_base_require -# TODO(https://github.com/googleapis/google-auth-library-python/issues/1739): Add bounds for urllib3 and packaging dependencies. -urllib3_extra_require = ["urllib3", "packaging"] +urllib3_extra_require = [ + "urllib3 >= 1.26.15, < 3.0.0", + "packaging >= 20.0", +] rsa_extra_require = ["rsa>=3.1.4,<5"] diff --git a/packages/google-auth/testing/constraints-3.10.txt b/packages/google-auth/testing/constraints-3.10.txt index a01df7144a17..8cff9687ae59 100644 --- a/packages/google-auth/testing/constraints-3.10.txt +++ b/packages/google-auth/testing/constraints-3.10.txt @@ -9,6 +9,8 @@ pyasn1-modules==0.2.1 setuptools==40.3.0 cryptography==38.0.3 aiohttp==3.8.0 -requests==2.20.0 +requests==2.30.0 pyjwt==2.0 -grpcio==1.59.0 \ No newline at end of file +grpcio==1.59.0 +urllib3==1.26.15 +packaging==20.0