Skip to content

Commit 72650f5

Browse files
committed
additional updates to add 3.13
1 parent 2af5301 commit 72650f5

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

.github/sync-repo-settings.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ branchProtectionRules:
1616
- 'Samples - Python 3.10'
1717
- 'Samples - Python 3.11'
1818
- 'Samples - Python 3.12'
19+
- 'Samples - Python 3.13'
20+
1921
permissionRules:
2022
- team: actools-python
2123
permission: admin

CONTRIBUTING.rst

Lines changed: 6 additions & 4 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.8, 3.9, 3.10, 3.11 and 3.12 on both UNIX and Windows.
25+
3.8, 3.9, 3.10, 3.11, 3.12, and 3.13 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.12 -- -k <name of test>
75+
$ nox -s unit-3.13 -- -k <name of test>
7676

7777

7878
.. note::
@@ -143,12 +143,12 @@ Running System Tests
143143
$ nox -s system
144144

145145
# Run a single system test
146-
$ nox -s system-3.12 -- -k <name of test>
146+
$ nox -s system-3.13 -- -k <name of test>
147147

148148

149149
.. note::
150150

151-
System tests are only configured to run under Python 3.8, 3.11 and 3.12.
151+
System tests are only configured to run under Python 3.8, 3.12, and 3.13.
152152
For expediency, we do not run them in older versions of Python 3.
153153

154154
This alone will not run the tests. You'll need to change some local
@@ -226,12 +226,14 @@ We support:
226226
- `Python 3.10`_
227227
- `Python 3.11`_
228228
- `Python 3.12`_
229+
- `Python 3.13`_
229230

230231
.. _Python 3.8: https://docs.python.org/3.8/
231232
.. _Python 3.9: https://docs.python.org/3.9/
232233
.. _Python 3.10: https://docs.python.org/3.10/
233234
.. _Python 3.11: https://docs.python.org/3.11/
234235
.. _Python 3.12: https://docs.python.org/3.12/
236+
.. _Python 3.13: https://docs.python.org/3.13/
235237

236238

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

noxfile.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
],
7979
}
8080

81-
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.11", "3.12", "3.13"]
81+
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.12", "3.13"]
8282
SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [
8383
"mock",
8484
"pytest",
@@ -96,11 +96,6 @@
9696
"alembic",
9797
"bqstorage",
9898
],
99-
"3.11": [
100-
"tests",
101-
"geography",
102-
"bqstorage",
103-
],
10499
"3.12": [
105100
"tests",
106101
"geography",
@@ -405,7 +400,7 @@ def compliance(session):
405400
)
406401
if session.python == "3.8":
407402
extras = "[tests,alembic]"
408-
elif session.python in ["3.11", "3.12", "3.13"]:
403+
elif session.python in ["3.12", "3.13"]:
409404
extras = "[tests,geography]"
410405
else:
411406
extras = "[tests]"
@@ -532,7 +527,7 @@ def docfx(session):
532527
)
533528

534529

535-
@nox.session(python="3.12")
530+
@nox.session(python="3.13")
536531
@nox.parametrize(
537532
"protobuf_implementation",
538533
["python", "upb", "cpp"],

owlbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838
templated_files = common.py_library(
3939
unit_test_python_versions=["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
40-
system_test_python_versions=["3.8", "3.11", "3.12", "3.13"],
40+
system_test_python_versions=["3.8", "3.12", "3.13"],
4141
cov_level=100,
4242
unit_test_extras=extras,
4343
unit_test_extras_by_python=extras_by_python,

0 commit comments

Comments
 (0)