Commit c5272c4
committed
feat: Add Python 3.14 support and update CI
This commit adds support for Python 3.14 to the library, removes Python 3.7 and 3.8 from the nox sessions, and updates the GitHub Actions workflow.
The following changes were made:
- Added a 3.14 trove classifier in `setup.py`.
- Added a `grpcio` version constraint for Python 3.14 in `setup.py`.
- Added a 3.14 presubmit configuration file in `.kokoro/samples`.
- Added a `testing/constraints-3.14.txt` file.
- Updated the `CONTRIBUTING.rst` and `README.rst` files to include 3.14.
- Updated `owlbot.py` to include "3.14" in `unit_test_python_versions`.
- Updated `noxfile.py` to include "3.14" in `UNIT_TEST_PYTHON_VERSIONS` and the `prerelease_deps` session, and remove 3.7/3.8.
- Updated `.github/sync-repo-settings.yaml` to include 3.14.
- Updated `.github/workflows/unittest.yml` to include 3.14 and remove 3.7/3.8.
- Fixed a flaky test in `tests/unit/pubsub_v1/publisher/test_publisher_client.py`.
- Fixed an `AttributeError` in `google/cloud/pubsub_v1/subscriber/scheduler.py` that occurred in Python 3.14.
- Fixed `NameError` and `ValueError` bugs in `samples/snippets/publisher.py`.
- Removed Python 3.7 and 3.8 from `CONTRIBUTING.rst`, `README.rst`, and `owlbot.py`.
- Fixed a `ValueError` in the `prerelease_deps` nox session.1 parent bf41dee commit c5272c4
2 files changed
+5
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 8 | + | |
12 | 9 | | |
13 | 10 | | |
14 | | - | |
| 11 | + | |
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
| 236 | + | |
242 | 237 | | |
243 | 238 | | |
244 | 239 | | |
| |||
448 | 443 | | |
449 | 444 | | |
450 | 445 | | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
| 446 | + | |
457 | 447 | | |
458 | 448 | | |
459 | 449 | | |
| |||
465 | 455 | | |
466 | 456 | | |
467 | 457 | | |
| 458 | + | |
468 | 459 | | |
469 | 460 | | |
470 | 461 | | |
| |||
0 commit comments