Commit 23dc8d3
committed
feat: Add Python 3.14 support and drop Python 3.7/3.8
This commit adds support for Python 3.14 to the library and drops support for Python 3.7 and 3.8.
The following changes were made:
- Dropped support for Python 3.7 and 3.8 across all configuration files, documentation, and CI/CD pipelines.
- 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 `constraints-3.14.txt` file and moved it to the `testing/` directory.
- Updated the `CONTRIBUTING.rst` file to include 3.14 and remove 3.7/3.8.
- Updated the `README.rst` file to include 3.14 and remove 3.7/3.8.
- Updated `owlbot.py` to include "3.14" and remove "3.7"/"3.8" in `unit_test_python_versions`.
- Updated `noxfile.py` to include "3.14" and remove "3.7"/"3.8" in `UNIT_TEST_PYTHON_VERSIONS`.
- Updated `.github/sync-repo-settings.yaml` to include 3.14 and remove 3.7/3.8.
- Removed Kokoro and testing configurations for Python 3.7 and 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.1 parent 81a33c1 commit 23dc8d3
File tree
3 files changed
+3
-13
lines changed- .kokoro/samples/python3.14
- testing
3 files changed
+3
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| 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 | | |
| |||
File renamed without changes.
0 commit comments