Skip to content

Commit a4565e1

Browse files
committed
feat: add support for Python 3.14
1 parent 5663d2a commit a4565e1

File tree

16 files changed

+47
-46
lines changed

16 files changed

+47
-46
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.10"
15+
python-version: "3.14"
1616
- name: Install nox
1717
run: |
1818
python -m pip install --upgrade setuptools pip wheel

.github/workflows/mypy.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.10"
15+
python-version: "3.14"
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.9', '3.10', '3.11', '3.12', '3.13']
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.10"
48+
python-version: "3.14"
4949
- name: Install coverage
5050
run: |
5151
python -m pip install --upgrade setuptools pip wheel

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.9, 3.10, 3.11, 3.12 and 3.13 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.13 -- -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.13 -- -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.9, 3.11, 3.12 and 3.13.
151+
System tests are only configured to run under Python 3.9, 3.12 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
@@ -263,12 +263,14 @@ We support:
263263
- `Python 3.11`_
264264
- `Python 3.12`_
265265
- `Python 3.13`_
266+
- `Python 3.14`_
266267

267268
.. _Python 3.9: https://docs.python.org/3.9/
268269
.. _Python 3.10: https://docs.python.org/3.10/
269270
.. _Python 3.11: https://docs.python.org/3.11/
270271
.. _Python 3.12: https://docs.python.org/3.12/
271272
.. _Python 3.13: https://docs.python.org/3.13/
273+
.. _Python 3.14: https://docs.python.org/3.14/
272274

273275

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

GEMINI.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We use `nox` to instrument our tests.
1313
- To run a single unit test:
1414

1515
```bash
16-
nox -r -s unit-3.13 -- -k <name of test>
16+
nox -r -s unit-3.14 -- -k <name of test>
1717
```
1818

1919
- To run system tests, you can execute::
@@ -22,7 +22,7 @@ We use `nox` to instrument our tests.
2222
$ nox -r -s system
2323

2424
# Run a single system test
25-
$ nox -r -s system-3.13 -- -k <name of test>
25+
$ nox -r -s system-3.14 -- -k <name of test>
2626

2727
- The codebase must have better coverage than it had previously after each
2828
change. You can test coverage via `nox -s unit system cover` (takes a long

notebooks/getting_started/getting_started_bq_dataframes.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,15 +1331,15 @@
13311331
},
13321332
{
13331333
"cell_type": "code",
1334-
"execution_count": 22,
1334+
"execution_count": null,
13351335
"metadata": {},
13361336
"outputs": [],
13371337
"source": [
13381338
"import sys\n",
13391339
"\n",
1340-
"# Python 3.13 is not yet a supported runtime for remote functions.\n",
1340+
"# Python 3.14 is not yet a supported runtime for remote functions.\n",
13411341
"# See: https://cloud.google.com/functions/docs/runtime-support#python for the supported runtimes.\n",
1342-
"if sys.version_info >= (3, 13, 0):\n",
1342+
"if sys.version_info >= (3, 14, 0):\n",
13431343
" sys.exit(0)"
13441344
]
13451345
},

notebooks/location/regionalized.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,9 +1347,9 @@
13471347
"source": [
13481348
"import sys\n",
13491349
"\n",
1350-
"# Python 3.13 is not yet a supported runtime for remote functions.\n",
1350+
"# Python 3.14 is not yet a supported runtime for remote functions.\n",
13511351
"# See: https://cloud.google.com/functions/docs/runtime-support#python for the supported runtimes.\n",
1352-
"if sys.version_info >= (3, 13, 0):\n",
1352+
"if sys.version_info >= (3, 14, 0):\n",
13531353
" sys.exit(0)"
13541354
]
13551355
},

notebooks/remote_functions/remote_function.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"source": [
1010
"import sys\n",
1111
"\n",
12-
"# Python 3.13 is not yet a supported runtime for remote functions.\n",
12+
"# Python 3.14 is not yet a supported runtime for remote functions.\n",
1313
"# See: https://cloud.google.com/functions/docs/runtime-support#python for the supported runtimes.\n",
14-
"if sys.version_info >= (3, 13, 0):\n",
14+
"if sys.version_info >= (3, 14, 0):\n",
1515
" sys.exit(0)"
1616
]
1717
},

notebooks/remote_functions/remote_function_usecases.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
},
2424
{
2525
"cell_type": "code",
26-
"execution_count": 1,
26+
"execution_count": null,
2727
"metadata": {},
2828
"outputs": [],
2929
"source": [
3030
"import sys\n",
3131
"\n",
32-
"# Python 3.13 is not yet a supported runtime for remote functions.\n",
32+
"# Python 3.14 is not yet a supported runtime for remote functions.\n",
3333
"# See: https://cloud.google.com/functions/docs/runtime-support#python for the supported runtimes.\n",
34-
"if sys.version_info >= (3, 13, 0):\n",
34+
"if sys.version_info >= (3, 14, 0):\n",
3535
" sys.exit(0)"
3636
]
3737
},

notebooks/remote_functions/remote_function_vertex_claude_model.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
"source": [
3737
"import sys\n",
3838
"\n",
39-
"# Python 3.13 is not yet a supported runtime for remote functions.\n",
39+
"# Python 3.14 is not yet a supported runtime for remote functions.\n",
4040
"# See: https://cloud.google.com/functions/docs/runtime-support#python for the supported runtimes.\n",
41-
"if sys.version_info >= (3, 13, 0):\n",
41+
"if sys.version_info >= (3, 14, 0):\n",
4242
" sys.exit(0)"
4343
]
4444
},

0 commit comments

Comments
 (0)