Commit dcbdd3b
authored
fix(google-auth): Drop support for Python 3.8 and 3.9 (googleapis#16946)
This PR updates `google-auth` to establish Python 3.10 as the minimum
supported version, dropping support for Python 3.9 and below.
### Changes
* Configuration: Updated `setup.py` and `noxfile.py` to require Python
3.10+ and remove references to Python 3.7, 3.8, and 3.9.
* Documentation: Updated `README.rst` and `CONTRIBUTING.rst` to state
that Python 3.10 is the minimum.
* Cleanup: Removed EOL warning code from source and tests.
* Constraints: Transferred lower bounds to `constraints-3.10.txt` and
dropped 3.8/3.9 files.
> [!NOTE]
> During local testing with Docker, 7 async tests failed on Python 3.10
inside `tests_async/transport/test_aiohttp_requests.py` (though all
tests passed successfully on 3.11 - 3.14). We are pushing to see if
these failures replicate on GitHub Actions or if they are just a local
environment quirk.
Fixes internal issue: http://b/482126936 🦕1 parent cdc5dd5 commit dcbdd3bCopy full SHA for dcbdd3b
10 files changed
+17-147Lines changed: 17 additions & 147 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- packages/google-auth
- google
- auth
- oauth2
- testing
- tests
Expand file treeCollapse file tree
Open diff view settings
Collapse file
packages/google-auth/CONTRIBUTING.rst
Copy file name to clipboardExpand all lines: packages/google-auth/CONTRIBUTING.rst+1-1Lines changed: 1 addition & 1 deletion
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | 24 | |
25 | 25 | |
|
Collapse file
packages/google-auth/README.rst
Copy file name to clipboardExpand all lines: packages/google-auth/README.rst+1-12Lines changed: 1 addition & 12 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
35 | 35 | |
36 | 36 | |
37 | 37 | |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
| 38 | + |
50 | 39 | |
51 | 40 | |
52 | 41 | |
|
Collapse file
packages/google-auth/google/auth/__init__.py
Copy file name to clipboardExpand all lines: packages/google-auth/google/auth/__init__.py-23Lines changed: 0 additions & 23 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | | - |
19 | | - |
20 | 18 | |
21 | 19 | |
22 | 20 | |
| ||
32 | 30 | |
33 | 31 | |
34 | 32 | |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
56 | 33 | |
57 | 34 | |
Collapse file
packages/google-auth/google/oauth2/__init__.py
Copy file name to clipboardExpand all lines: packages/google-auth/google/oauth2/__init__.py-25Lines changed: 0 additions & 25 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
23 | | - |
24 | | - |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
Collapse file
packages/google-auth/noxfile.py
Copy file name to clipboardExpand all lines: packages/google-auth/noxfile.py-5Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | | - |
38 | | - |
39 | 37 | |
40 | 38 | |
41 | 39 | |
42 | 40 | |
43 | 41 | |
44 | 42 | |
45 | 43 | |
46 | | - |
47 | 44 | |
48 | 45 | |
49 | 46 | |
| ||
151 | 148 | |
152 | 149 | |
153 | 150 | |
154 | | - |
155 | | - |
156 | 151 | |
157 | 152 | |
158 | 153 | |
|
Collapse file
packages/google-auth/setup.py
Copy file name to clipboardExpand all lines: packages/google-auth/setup.py+2-4Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | | - |
| 32 | + |
33 | 33 | |
34 | 34 | |
35 | 35 | |
| ||
112 | 112 | |
113 | 113 | |
114 | 114 | |
115 | | - |
| 115 | + |
116 | 116 | |
117 | 117 | |
118 | 118 | |
119 | 119 | |
120 | | - |
121 | | - |
122 | 120 | |
123 | 121 | |
124 | 122 | |
|
Collapse file
packages/google-auth/testing/constraints-3.10.txt
Copy file name to clipboard+13-1Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
Collapse file
packages/google-auth/testing/constraints-3.8.txt
Copy file name to clipboardExpand all lines: packages/google-auth/testing/constraints-3.8.txt-13Lines changed: 0 additions & 13 deletions
This file was deleted.
Collapse file
packages/google-auth/testing/constraints-3.9.txt
Copy file name to clipboardExpand all lines: packages/google-auth/testing/constraints-3.9.txtWhitespace-only changes.
Collapse file
packages/google-auth/tests/test_version_warnings.py
Copy file name to clipboardExpand all lines: packages/google-auth/tests/test_version_warnings.py-63Lines changed: 0 additions & 63 deletions
This file was deleted.
0 commit comments