@@ -77,8 +77,10 @@ class = StreamHandler
7777
7878BLACK_VERSION = "black==22.3.0"
7979BLACK_PATHS = ["google" , "test" , "noxfile.py" , "setup.py" , "samples" ]
80- DEFAULT_PYTHON_VERSION = "3.12"
81- DEFAULT_PYTHON_VERSION_FOR_SQLALCHEMY_20 = "3.12"
80+ UNIT_TEST_PYTHON_VERSIONS = ["3.9" , "3.10" , "3.11" , "3.12" , "3.13" , "3.14" ]
81+ SYSTEM_TEST_PYTHON_VERSIONS = ["3.9" , "3.14" ]
82+ DEFAULT_PYTHON_VERSION = "3.14"
83+ DEFAULT_PYTHON_VERSION_FOR_SQLALCHEMY_20 = "3.14"
8284
8385
8486@nox .session (python = DEFAULT_PYTHON_VERSION_FOR_SQLALCHEMY_20 )
@@ -126,7 +128,7 @@ def lint_setup_py(session):
126128 session .run ("python" , "setup.py" , "check" , "--restructuredtext" , "--strict" )
127129
128130
129- @nox .session (python = DEFAULT_PYTHON_VERSION )
131+ @nox .session (python = UNIT_TEST_PYTHON_VERSIONS [ 0 ] )
130132def compliance_test_14 (session ):
131133 """Run SQLAlchemy dialect compliance test suite."""
132134
@@ -208,7 +210,7 @@ def compliance_test_20(session):
208210 )
209211
210212
211- @nox .session ()
213+ @nox .session (python = SYSTEM_TEST_PYTHON_VERSIONS )
212214def system (session ):
213215 """Run SQLAlchemy dialect system test suite."""
214216
@@ -245,7 +247,7 @@ def system(session):
245247 session .run ("python" , "drop_test_database.py" )
246248
247249
248- @nox .session (python = DEFAULT_PYTHON_VERSION )
250+ @nox .session (python = UNIT_TEST_PYTHON_VERSIONS )
249251def unit (session ):
250252 """Run unit tests."""
251253 # Run SQLAlchemy dialect compliance test suite with OpenTelemetry.
@@ -287,14 +289,14 @@ def mockserver(session):
287289 )
288290
289291
290- @nox .session (python = DEFAULT_PYTHON_VERSION )
292+ @nox .session (python = UNIT_TEST_PYTHON_VERSIONS [ 0 ] )
291293def migration_test (session ):
292294 """Test migrations with SQLAlchemy v1.4 and Alembic"""
293295 session .run ("pip" , "install" , "sqlalchemy>=1.4,<2.0" , "--force-reinstall" )
294296 _migration_test (session )
295297
296298
297- @nox .session (python = DEFAULT_PYTHON_VERSION )
299+ @nox .session (python = UNIT_TEST_PYTHON_VERSIONS [ - 1 ] )
298300def _migration_test (session ):
299301 """Migrate with SQLAlchemy and Alembic and check the result."""
300302 import glob
0 commit comments