Commit 014e951
authored
feat(logging): drop support for Python 3.7, 3.8, and 3.9 runtimes (#17276)
This PR updates the `google-cloud-logging` library to drop support for
end-of-life Python runtimes (3.7, 3.8, and 3.9) and modernize package
metadata and dependency constraints for Python 3.10+.
### Changes
* **Librarian Config**: Edited setup.py replacement in
`.librarian/generator-input/client-post-processing/logging-integration.yaml`
and added post-processing injection rules for
`testing/constraints-3.10.txt`.
* **Regeneration**: Re-compiled GAPIC client services cleanly using
`gapic-generator v1.33.0`, natively incorporating the `set_event_loop`
autouse asyncio loop fixture inside all service unit tests.
* **Codebase EOL Cleanup**: Removed obsolete warning filters from
`pytest.ini` and EOL skips from `test_logger.py` and `CONTRIBUTING.rst`.
🦕1 parent 58df2da commit 014e951Copy full SHA for 014e951
12 files changed
+698-703Lines changed: 698 additions & 703 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- .librarian/generator-input/client-post-processing
- packages/google-cloud-logging
- google/cloud/logging_v2
- testing
- tests/unit
- gapic/logging_v2
Expand file treeCollapse file tree
Open diff view settings
Collapse file
.librarian/generator-input/client-post-processing/logging-integration.yaml
Copy file name to clipboardExpand all lines: .librarian/generator-input/client-post-processing/logging-integration.yaml+18-3Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
38 | 38 | |
39 | 39 | |
40 | 40 | |
41 | | - |
| 41 | + |
42 | 42 | |
43 | 43 | |
44 | 44 | |
45 | 45 | |
46 | 46 | |
47 | 47 | |
48 | | - |
49 | | - |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
50 | 65 | |
51 | 66 | |
52 | 67 | |
|
Collapse file
packages/google-cloud-logging/CONTRIBUTING.rst
Copy file name to clipboardExpand all lines: packages/google-cloud-logging/CONTRIBUTING.rst+4-20Lines changed: 4 additions & 20 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 | |
| ||
195 | 195 | |
196 | 196 | |
197 | 197 | |
198 | | - |
| 198 | + |
199 | 199 | |
200 | 200 | |
201 | 201 | |
202 | | - |
| 202 | + |
203 | 203 | |
204 | 204 | |
205 | 205 | |
| ||
221 | 221 | |
222 | 222 | |
223 | 223 | |
224 | | - |
225 | | - |
226 | | - |
227 | 224 | |
228 | 225 | |
229 | 226 | |
230 | 227 | |
231 | 228 | |
232 | 229 | |
233 | | - |
234 | | - |
235 | | - |
236 | 230 | |
237 | 231 | |
238 | 232 | |
| ||
245 | 239 | |
246 | 240 | |
247 | 241 | |
248 | | - |
249 | | - |
250 | | - |
251 | | - |
252 | | - |
253 | | - |
254 | | - |
255 | | - |
256 | | - |
257 | | - |
258 | | - |
| 242 | + |
259 | 243 | |
260 | 244 | |
261 | 245 | |
|
Collapse file
packages/google-cloud-logging/constraints.txt
Copy file name to clipboard+12Lines changed: 12 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 | + |
Collapse file
packages/google-cloud-logging/google/cloud/logging_v2/client.py
Copy file name to clipboardExpand all lines: packages/google-cloud-logging/google/cloud/logging_v2/client.py+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
383 | 383 | |
384 | 384 | |
385 | 385 | |
386 | | - |
| 386 | + |
| 387 | + |
387 | 388 | |
388 | 389 | |
389 | 390 | |
|
Collapse file
packages/google-cloud-logging/noxfile.py
Copy file name to clipboardExpand all lines: packages/google-cloud-logging/noxfile.py+6-17Lines changed: 6 additions & 17 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
47 | 47 | |
48 | 48 | |
49 | 49 | |
50 | | - |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
51 | 56 | |
52 | 57 | |
53 | 58 | |
| ||
466 | 471 | |
467 | 472 | |
468 | 473 | |
469 | | - |
470 | | - |
471 | | - |
472 | | - |
473 | | - |
474 | | - |
475 | | - |
476 | | - |
477 | 474 | |
478 | 475 | |
479 | 476 | |
| ||
585 | 582 | |
586 | 583 | |
587 | 584 | |
588 | | - |
589 | | - |
590 | | - |
591 | | - |
592 | | - |
593 | | - |
594 | | - |
595 | | - |
596 | 585 | |
597 | 586 | |
598 | 587 | |
|
Collapse file
packages/google-cloud-logging/pytest.ini
Copy file name to clipboardExpand all lines: packages/google-cloud-logging/pytest.ini-8Lines changed: 0 additions & 8 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 | 16 | |
25 | 17 | |
26 | 18 | |
|
Collapse file
packages/google-cloud-logging/setup.py
Copy file name to clipboardExpand all lines: packages/google-cloud-logging/setup.py+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
47 | 47 | |
48 | 48 | |
49 | 49 | |
50 | | - |
51 | | - |
| 50 | + |
| 51 | + |
52 | 52 | |
53 | 53 | |
54 | 54 | |
|
Collapse file
packages/google-cloud-logging/testing/constraints-3.10.txt
Copy file name to clipboardExpand all lines: packages/google-cloud-logging/testing/constraints-3.10.txt+6-1Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | | - |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
10 | 15 | |
11 | 16 | |
0 commit comments