feat: support python 3.14 (#165) · googleapis/python-bigquery-magics@8ee73ec · GitHub
Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.

Commit 8ee73ec

Browse files
authored
feat: support python 3.14 (#165)
1 parent c333e88 commit 8ee73ec

6 files changed

Lines changed: 36 additions & 5 deletions

File tree

.github/workflows/unittest.yml

Lines changed: 1 addition & 1 deletion
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Only run this nox session.
4+
env_vars: {
5+
key: "NOX_SESSION"
6+
value: "prerelease_deps-3.14"
7+
}

.kokoro/presubmit/system-3.14.cfg

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Only run this nox session.
4+
env_vars: {
5+
key: "NOX_SESSION"
6+
value: "system-3.14"
7+
}

noxfile.py

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

3535
DEFAULT_PYTHON_VERSION = "3.10"
3636

37-
UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.9", "3.11", "3.12", "3.13"]
37+
UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.9", "3.11", "3.12", "3.13", "3.14"]
3838
UNIT_TEST_STANDARD_DEPENDENCIES = [
3939
"mock",
4040
"asyncmock",
@@ -67,9 +67,14 @@
6767
"bigframes",
6868
"geopandas",
6969
],
70+
"3.14": [
71+
"bqstorage",
72+
"bigframes",
73+
"geopandas",
74+
],
7075
}
7176

72-
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.9", "3.11", "3.12", "3.13"]
77+
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.9", "3.11", "3.12", "3.13", "3.14"]
7378
SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [
7479
"mock",
7580
"pytest",
@@ -99,6 +104,11 @@
99104
"bigframes",
100105
"geopandas",
101106
],
107+
"3.14": [
108+
"bqstorage",
109+
"bigframes",
110+
"geopandas",
111+
],
102112
}
103113

104114
CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()
@@ -208,7 +218,12 @@ def install_unittest_dependencies(session, *constraints):
208218
def unit(session, protobuf_implementation):
209219
# Install all test dependencies, then install this package in-place.
210220

211-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13"):
221+
if protobuf_implementation == "cpp" and session.python in (
222+
"3.11",
223+
"3.12",
224+
"3.13",
225+
"3.14",
226+
):
212227
session.skip("cpp implementation is not supported in python 3.11+")
213228

214229
constraints_path = str(

setup.py

Lines changed: 3 additions & 1 deletion

testing/constraints-3.14.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)