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

Commit 4400fe3

Browse files
1 parent f625a38 commit 4400fe3

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup Python
1313
uses: actions/setup-python@v5
1414
with:
15-
python-version: "3.14"
15+
python-version: "3.8"
1616
- name: Install nox
1717
run: |
1818
python -m pip install --upgrade setuptools pip wheel

.github/workflows/unittest.yml

Lines changed: 2 additions & 2 deletions
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.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
14+
python: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v4
@@ -45,7 +45,7 @@ jobs:
4545
- name: Setup Python
4646
uses: actions/setup-python@v5
4747
with:
48-
python-version: "3.14"
48+
python-version: "3.8"
4949
- name: Install coverage
5050
run: |
5151
python -m pip install --upgrade setuptools pip wheel

CONTRIBUTING.rst

Lines changed: 9 additions & 7 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.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.12 -- -k <name of test>
75+
$ nox -s unit-3.14 -- -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.14 -- -k <name of test>
147147

148148

149149
.. note::
150150

151-
System tests are only configured to run under Python 3.8, 3.9, 3.10, 3.11 and 3.12.
151+
System tests are only configured to run under Python 3.9 and 3.14.
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
@@ -221,25 +221,27 @@ Supported Python Versions
221221

222222
We support:
223223

224-
- `Python 3.8`_
225224
- `Python 3.9`_
226225
- `Python 3.10`_
227226
- `Python 3.11`_
228227
- `Python 3.12`_
228+
- `Python 3.13`_
229+
- `Python 3.14`_
229230

230-
.. _Python 3.8: https://docs.python.org/3.8/
231231
.. _Python 3.9: https://docs.python.org/3.9/
232232
.. _Python 3.10: https://docs.python.org/3.10/
233233
.. _Python 3.11: https://docs.python.org/3.11/
234234
.. _Python 3.12: https://docs.python.org/3.12/
235+
.. _Python 3.13: https://docs.python.org/3.13/
236+
.. _Python 3.14: https://docs.python.org/3.14/
235237

236238

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

239241
.. _config: https://github.com/googleapis/python-documentai-toolbox/blob/main/noxfile.py
240242

241243

242-
We also explicitly decided to support Python 3 beginning with version 3.8.
244+
We also explicitly decided to support Python 3 beginning with version 3.9.
243245
Reasons for this include:
244246

245247
- Encouraging use of newest versions of Python 3

noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
DEFAULT_PYTHON_VERSION = "3.8"
3636

37-
UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.9", "3.10", "3.11", "3.12"]
37+
UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
3838
UNIT_TEST_STANDARD_DEPENDENCIES = [
3939
"mock",
4040
"asyncmock",
@@ -48,7 +48,7 @@
4848
UNIT_TEST_EXTRAS: List[str] = []
4949
UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {}
5050

51-
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.9", "3.10", "3.11", "3.12"]
51+
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.9", "3.14"]
5252
SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [
5353
"mock",
5454
"pytest",
@@ -367,7 +367,7 @@ def docfx(session):
367367
)
368368

369369

370-
@nox.session(python="3.12")
370+
@nox.session(python="3.14")
371371
@nox.parametrize(
372372
"protobuf_implementation",
373373
["python", "upb", "cpp"],

0 commit comments

Comments
 (0)