Skip to content

Conversation

@chalmerlowe
Copy link

@chalmerlowe chalmerlowe commented Dec 10, 2025

This PR adds support for Python 3.14 to the library.

Key changes include:

  • Updating setup.py to include the Python 3.14 classifier.
  • Updating noxfile.py:
    • Add 3.14 to test sessions.
    • Refactor to use version constants (UNIT_TEST_PYTHON_VERSIONS, SYSTEM_TEST_PYTHON_VERSIONS).
    • Update DEFAULT_PYTHON_VERSION and DEFAULT_PYTHON_VERSION_FOR_SQLALCHEMY_20 to
      "3.14".
    • Update BLACK_VERSION to 23.7.0 for Python 3.14 compatibility.
  • Updating .github/workflows/test_suite.yml to use appropriate Python versions for each job including matrix strategies for unit and system jobs.

NOTE: The following CI/CD check is failing:

  • SQLAlchemy Spanner dialect / compliance_tests_20

Per Gemini: The compliance_test_20 session in Nox is currently failing on Python 3.13 and 3.14 due to issues with schema reflection for elements with quoted names or mixed case. These appear to pre-existing issues with the dialect's handling of such identifiers, rather than a regressio introduced by Python 3.14.

The failing compliance test has been marked as not required so as to not be a blocker for this PR. As noted in the issue that status should be reverted when the issue is resolved.

Further details and investigation are tracked in Issue #805.

@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner-sqlalchemy API. label Dec 10, 2025
@chalmerlowe chalmerlowe self-assigned this Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the googleapis/python-spanner-sqlalchemy API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant