3535DEFAULT_PYTHON_VERSION = "3.14"
3636
3737DEFAULT_MOCK_SERVER_TESTS_PYTHON_VERSION = "3.12"
38- SYSTEM_TEST_PYTHON_VERSIONS : List [str ] = ["3.12 " ]
38+ SYSTEM_TEST_PYTHON_VERSIONS : List [str ] = ["3.14 " ]
3939
4040UNIT_TEST_PYTHON_VERSIONS : List [str ] = [
4141 "3.9" ,
4242 "3.10" ,
4343 "3.11" ,
4444 "3.12" ,
4545 "3.13" ,
46+ "3.14" ,
4647]
4748UNIT_TEST_STANDARD_DEPENDENCIES = [
4849 "mock" ,
8182 "unit-3.11" ,
8283 "unit-3.12" ,
8384 "unit-3.13" ,
85+ "unit-3.14" ,
8486 "system" ,
8587 "cover" ,
8688 "lint" ,
@@ -195,7 +197,12 @@ def install_unittest_dependencies(session, *constraints):
195197def unit (session , protobuf_implementation ):
196198 # Install all test dependencies, then install this package in-place.
197199
198- if protobuf_implementation == "cpp" and session .python in ("3.11" , "3.12" , "3.13" ):
200+ if protobuf_implementation == "cpp" and session .python in (
201+ "3.11" ,
202+ "3.12" ,
203+ "3.13" ,
204+ "3.14" ,
205+ ):
199206 session .skip ("cpp implementation is not supported in python 3.11+" )
200207
201208 constraints_path = str (
@@ -213,6 +220,7 @@ def unit(session, protobuf_implementation):
213220 session .run (
214221 "py.test" ,
215222 "--quiet" ,
223+ "-s" ,
216224 f"--junitxml=unit_{ session .python } _sponge_log.xml" ,
217225 "--cov=google" ,
218226 "--cov=tests/unit" ,
@@ -326,7 +334,12 @@ def system(session, protobuf_implementation, database_dialect):
326334 "Only run system tests on real Spanner with one protobuf implementation to speed up the build"
327335 )
328336
329- if protobuf_implementation == "cpp" and session .python in ("3.11" , "3.12" , "3.13" ):
337+ if protobuf_implementation == "cpp" and session .python in (
338+ "3.11" ,
339+ "3.12" ,
340+ "3.13" ,
341+ "3.14" ,
342+ ):
330343 session .skip ("cpp implementation is not supported in python 3.11+" )
331344
332345 # Install pyopenssl for mTLS testing.
@@ -470,7 +483,7 @@ def docfx(session):
470483 )
471484
472485
473- @nox .session (python = "3.13 " )
486+ @nox .session (python = "3.14 " )
474487@nox .parametrize (
475488 "protobuf_implementation,database_dialect" ,
476489 [
@@ -485,7 +498,12 @@ def docfx(session):
485498def prerelease_deps (session , protobuf_implementation , database_dialect ):
486499 """Run all tests with prerelease versions of dependencies installed."""
487500
488- if protobuf_implementation == "cpp" and session .python in ("3.11" , "3.12" , "3.13" ):
501+ if protobuf_implementation == "cpp" and session .python in (
502+ "3.11" ,
503+ "3.12" ,
504+ "3.13" ,
505+ "3.14" ,
506+ ):
489507 session .skip ("cpp implementation is not supported in python 3.11+" )
490508
491509 # Install all dependencies
0 commit comments