Commit e83dbf1
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.
- 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 d710446 commit e83dbf1
1 file changed
+2
-32
lines changed| 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 | | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | 458 | | |
489 | 459 | | |
490 | 460 | | |
| |||
0 commit comments