Commit 760c06c
committed
feat: Add Python 3.14 support and fix nox session
This commit adds support for Python 3.14 to the library and fixes a `ValueError` in the `prerelease_deps` nox session.
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 by correcting the regex.1 parent ee497e7 commit 760c06c
1 file changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
468 | 489 | | |
469 | 490 | | |
470 | 491 | | |
| |||
0 commit comments