Commit 78a48b0
authored
fix(google-cloud-core): Drop support for Python 3.9 (#16953)
This PR updates \`google-cloud-core\` to establish Python 3.10 as the
minimum supported version, dropping support for Python 3.7, 3.8, and
3.9.
### Changes
* Configuration: Updated \`setup.py\` and \`noxfile.py\` to require
Python 3.10+ and remove references to Python 3.9.
* Documentation: Updated \`README.rst\` and \`CONTRIBUTING.rst\` to
reflect supported Python versions.
* Cleanup: Removed dead polyfill for \`importlib.metadata\` in
\`google/cloud/obsolete/__init__.py\`.
* Constraints: Transferred lower bounds to \`constraints-3.10.txt\` and
dropped \`constraints-3.9.txt\`.
* Fixes: Bumped \`grpcio\` to \`1.47.0\` to fix Python 3.10 build
failures.
Fixes internal issue: http://b/482126936 🦕1 parent 5975c48 commit 78a48b0Copy full SHA for 78a48b0
9 files changed
+23-45Lines changed: 23 additions & 45 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- packages/google-cloud-core
- docs
- google/cloud/obsolete
- testing
Expand file treeCollapse file tree
Open diff view settings
Collapse file
packages/google-cloud-core/CONTRIBUTING.rst
Copy file name to clipboardExpand all lines: packages/google-cloud-core/CONTRIBUTING.rst+1-14Lines changed: 1 addition & 14 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | | - |
| 25 | + |
26 | 26 | |
27 | 27 | |
28 | 28 | |
| ||
197 | 197 | |
198 | 198 | |
199 | 199 | |
200 | | - |
201 | 200 | |
202 | 201 | |
203 | 202 | |
204 | 203 | |
205 | 204 | |
206 | 205 | |
207 | | - |
208 | 206 | |
209 | 207 | |
210 | 208 | |
| ||
217 | 215 | |
218 | 216 | |
219 | 217 | |
220 | | - |
221 | | - |
222 | | - |
223 | | - |
224 | | - |
225 | | - |
226 | | - |
227 | | - |
228 | | - |
229 | | - |
230 | | - |
231 | 218 | |
232 | 219 | |
233 | 220 | |
|
Collapse file
packages/google-cloud-core/README.rst
Copy file name to clipboardExpand all lines: packages/google-cloud-core/README.rst+2-3Lines changed: 2 additions & 3 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
32 | 32 | |
33 | 33 | |
34 | 34 | |
35 | | - |
| 35 | + |
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | | - |
40 | | - |
| 39 | + |
Collapse file
packages/google-cloud-core/docs/README.rst
Copy file name to clipboardExpand all lines: packages/google-cloud-core/docs/README.rst+2-3Lines changed: 2 additions & 3 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
32 | 32 | |
33 | 33 | |
34 | 34 | |
35 | | - |
| 35 | + |
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | | - |
40 | | - |
| 39 | + |
Collapse file
packages/google-cloud-core/google/cloud/obsolete/__init__.py
Copy file name to clipboardExpand all lines: packages/google-cloud-core/google/cloud/obsolete/__init__.py+1-5Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
21 | | - |
| 17 | + |
22 | 18 | |
23 | 19 | |
24 | 20 | |
|
Collapse file
packages/google-cloud-core/noxfile.py
Copy file name to clipboardExpand all lines: packages/google-cloud-core/noxfile.py-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
26 | 26 | |
27 | 27 | |
28 | 28 | |
29 | | - |
30 | 29 | |
31 | 30 | |
32 | 31 | |
|
Collapse file
packages/google-cloud-core/pytest.ini
Copy file name to clipboardExpand all lines: packages/google-cloud-core/pytest.ini+1-3Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
8 | | - |
9 | 7 | |
10 | 8 | |
11 | 9 | |
12 | | - |
| 10 | + |
13 | 11 | |
14 | 12 | |
Collapse file
packages/google-cloud-core/setup.py
Copy file name to clipboardExpand all lines: packages/google-cloud-core/setup.py+3-4Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
33 | 33 | |
34 | 34 | |
35 | 35 | |
36 | | - |
| 36 | + |
37 | 37 | |
38 | | - |
| 38 | + |
39 | 39 | |
40 | 40 | |
41 | 41 | |
| ||
75 | 75 | |
76 | 76 | |
77 | 77 | |
78 | | - |
79 | 78 | |
80 | 79 | |
81 | 80 | |
| ||
88 | 87 | |
89 | 88 | |
90 | 89 | |
91 | | - |
| 90 | + |
92 | 91 | |
93 | 92 | |
94 | 93 | |
Collapse file
packages/google-cloud-core/testing/constraints-3.10.txt
Copy file name to clipboard+13Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
Collapse file
packages/google-cloud-core/testing/constraints-3.9.txt
Copy file name to clipboardExpand all lines: packages/google-cloud-core/testing/constraints-3.9.txt-12Lines changed: 0 additions & 12 deletions
This file was deleted.
0 commit comments