Skip to content

Commit 1c4a3d9

Browse files
authored
chore(django-google-spanner): update Python version to 3.10 (#16914)
This PR updates `django-google-spanner` to establish Python 3.10 as the minimum supported version, dropping support for Python 3.9 and below. ### Changes * Configuration: Updated `setup.py` and `noxfile.py` to require Python 3.10+ and remove references to Python 3.7, 3.8, and 3.9. * Cleanup: Removed dead code in `noxfile.py` that was skipping Python 3.7. ### Blocking This PR is blocked by PR #16910
1 parent c3c609e commit 1c4a3d9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/django-google-spanner/noxfile.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
DEFAULT_PYTHON_VERSION = "3.14"
2929

3030
UNIT_TEST_PYTHON_VERSIONS = [
31-
"3.9",
3231
"3.10",
3332
"3.11",
3433
"3.12",
@@ -123,8 +122,7 @@ def default(session, django_version="5.2"):
123122
@nox.session(python=ALL_PYTHON)
124123
def unit(session):
125124
"""Run the unit test suite."""
126-
if session.python == "3.9":
127-
session.skip("Python 3.9 is not supported for Django 5.2 tests")
125+
# TODO: Remove this check once support for Python 3.14 is added to Protobuf
128126
if session.python == "3.14":
129127
session.skip("Protobuf upb implementation is not supported in Python 3.14 yet")
130128
print("Unit tests with django 5.2")

0 commit comments

Comments
 (0)