Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

Commit 927ed19

Browse files
committed
added 3.14 support
1 parent 723a86c commit 927ed19

8 files changed

Lines changed: 18 additions & 9 deletions

File tree

.github/sync-repo-settings.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ branchProtectionRules:
2828
- 'unit (3.11)'
2929
- 'unit (3.12)'
3030
- 'unit (3.13)'
31+
- 'unit (3.14)'
3132
- 'cover'
3233
- 'run-systests'
3334
# List of explicit permissions to add (additive only)

.github/workflows/unittest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-22.04
1212
strategy:
1313
matrix:
14-
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
14+
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4

.kokoro/presubmit/system.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# Only run this nox session.
44
env_vars: {
55
key: "NOX_SESSION"
6-
value: "system"
6+
value: "system-3.9"
77
}

CONTRIBUTING.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In order to add a feature:
2222
documentation.
2323

2424
- The feature must work fully on the following CPython versions:
25-
3.7, 3.8, 3.9, 3.10, 3.11, 3.12 and 3.13 on both UNIX and Windows.
25+
3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13 and 3.14 on both UNIX and Windows.
2626

2727
- The feature must not add unnecessary dependencies (where
2828
"unnecessary" is of course subjective, but new dependencies should
@@ -72,7 +72,7 @@ We use `nox <https://nox.readthedocs.io/en/latest/>`__ to instrument our tests.
7272

7373
- To run a single unit test::
7474

75-
$ nox -s unit-3.13 -- -k <name of test>
75+
$ nox -s unit-3.14 -- -k <name of test>
7676

7777

7878
.. note::
@@ -238,14 +238,15 @@ We support:
238238
- `Python 3.11`_
239239
- `Python 3.12`_
240240
- `Python 3.13`_
241+
- `Python 3.14`_
241242

242243
.. _Python 3.7: https://docs.python.org/3.7/
243244
.. _Python 3.8: https://docs.python.org/3.8/
244245
.. _Python 3.9: https://docs.python.org/3.9/
245246
.. _Python 3.10: https://docs.python.org/3.10/
246247
.. _Python 3.11: https://docs.python.org/3.11/
247248
.. _Python 3.12: https://docs.python.org/3.12/
248-
.. _Python 3.13: https://docs.python.org/3.13/
249+
.. _Python 3.14: https://docs.python.org/3.14/
249250

250251

251252
Supported versions can be found in our ``noxfile.py`` `config`_.

noxfile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"3.11",
4444
"3.12",
4545
"3.13",
46+
"3.14",
4647
]
4748
UNIT_TEST_STANDARD_DEPENDENCIES = [
4849
"mock",
@@ -61,7 +62,7 @@
6162
UNIT_TEST_EXTRAS: List[str] = []
6263
UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {}
6364

64-
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.9"]
65+
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.9", "3.14"]
6566
SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [
6667
"mock",
6768
"pytest",
@@ -84,6 +85,7 @@
8485
"unit-3.11",
8586
"unit-3.12",
8687
"unit-3.13",
88+
"unit-3.14",
8789
"system_emulated",
8890
"system",
8991
"mypy",

owlbot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ def update_fixup_scripts(library):
144144
cov_level=100,
145145
split_system_tests=True,
146146
default_python_version="3.13",
147-
system_test_python_versions=["3.9"],
148-
unit_test_python_versions=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
147+
system_test_python_versions=["3.9", "3.14"]
148+
unit_test_python_versions=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"],
149149
)
150150

151151
s.move(templated_files,

pytest.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ filterwarnings =
1919
# Remove warning once https://github.com/googleapis/gapic-generator-python/issues/1939 is fixed
2020
ignore:get_mtls_endpoint_and_cert_source is deprecated.:DeprecationWarning
2121
# Remove once credential file support is removed
22-
ignore:.*The \`credentials_file\` argument is deprecated.*:DeprecationWarning
22+
ignore:.*The \`credentials_file\` argument is deprecated.*:DeprecationWarning
23+
# Remove after updating test dependencies that use asyncio.iscoroutinefunction
24+
ignore:.*\'asyncio.iscoroutinefunction\' is deprecated.*:DeprecationWarning
25+
ignore:.*\'asyncio.get_event_loop_policy\' is deprecated.*:DeprecationWarning

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@
7979
"Programming Language :: Python :: 3.10",
8080
"Programming Language :: Python :: 3.11",
8181
"Programming Language :: Python :: 3.12",
82+
"Programming Language :: Python :: 3.13",
83+
"Programming Language :: Python :: 3.14",
8284
"Operating System :: OS Independent",
8385
"Topic :: Internet",
8486
"Topic :: Software Development :: Libraries :: Python Modules",

0 commit comments

Comments
 (0)