Skip to content

Commit b3265ba

Browse files
committed
fix(google-auth): add aiohttp 3.9.0 and aioresponses 0.7.7 bounds
1 parent e9ca4c4 commit b3265ba

5 files changed

Lines changed: 16 additions & 97 deletions

File tree

packages/google-auth/setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030

3131
requests_extra_require = ["requests >= 2.30.0, < 3.0.0"]
3232

33-
aiohttp_extra_require = ["aiohttp >= 3.8.0, < 4.0.0", *requests_extra_require]
33+
aiohttp_extra_require = [
34+
"aiohttp >= 3.8.0, < 4.0.0; python_version < '3.14'",
35+
"aiohttp >= 3.9.0, < 4.0.0; python_version >= '3.14'",
36+
*requests_extra_require,
37+
]
3438

3539
pyjwt_extra_require = ["pyjwt>=2.0"]
3640

@@ -64,7 +68,8 @@
6468
*urllib3_extra_require,
6569
# Async Dependencies
6670
*aiohttp_extra_require,
67-
"aioresponses",
71+
# aioresponses >= 0.7.7 is required for aiohttp 3.9+ and modern Python test compatibility
72+
"aioresponses >= 0.7.7",
6873
"pytest-asyncio",
6974
]
7075

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ requests==2.30.0
1313
pyjwt==2.0
1414
grpcio==1.59.0
1515
urllib3==1.26.15
16-
packaging==20.0
16+
packaging==22.0
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
# Lower-bound constraints for Python 3.14 core dependencies.
2-
# Used during CI unit tests to verify minimum supported package versions.
1+
# This constraints file is used to check that lower bounds
2+
# are correct in setup.py
3+
# List *all* library dependencies and extras in this file.
4+
# Pin the version to the lower bound.
5+
#
6+
# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev",
7+
# Then this file should have foo==1.14.0
38
pyasn1-modules==0.2.1
49
cryptography==41.0.5
10+
aiohttp==3.9.0

packages/google-auth/tests/transport/aio/conftest.py

Lines changed: 0 additions & 46 deletions
This file was deleted.

packages/google-auth/tests_async/transport/conftest.py

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)