Skip to content

Commit 6d80e72

Browse files
committed
update system and unit tests
1 parent 4b0b3b4 commit 6d80e72

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

packages/django-google-spanner/noxfile.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,10 @@ def unit(session):
118118
"""Run the unit test suite."""
119119
if session.python in ("3.7",):
120120
session.skip("Python 3.7 is no longer supported")
121-
print("Unit tests with django 3.2")
122-
default(session)
121+
# Django 3.2 is End-Of-Life and fundamentally incompatible with Python 3.13+
122+
if session.python not in ("3.13", "3.14"):
123+
print("Unit tests with django 3.2")
124+
default(session)
123125
print("Unit tests with django 4.2")
124126
default(session, django_version="4.2")
125127

@@ -200,8 +202,9 @@ def system_test(session, django_version="3.2"):
200202

201203
@nox.session(python=SYSTEM_TEST_PYTHON_VERSIONS)
202204
def system(session):
203-
print("System tests with django 3.2")
204-
system_test(session)
205+
if session.python not in ("3.13", "3.14"):
206+
print("System tests with django 3.2")
207+
system_test(session)
205208
print("System tests with django 4.2")
206209
system_test(session, django_version="4.2")
207210

0 commit comments

Comments
 (0)