chore(python): Add support for Python 3.14#804
Merged
chalmerlowe merged 4 commits intomainfrom Dec 11, 2025
Merged
Conversation
chalmerlowe
commented
Dec 10, 2025
b8f3efa to
0160a11
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support for Python 3.14 to the library.
Key changes include:
setup.pyto include the Python 3.14 classifier.noxfile.py:UNIT_TEST_PYTHON_VERSIONS,SYSTEM_TEST_PYTHON_VERSIONS).DEFAULT_PYTHON_VERSIONandDEFAULT_PYTHON_VERSION_FOR_SQLALCHEMY_20to"3.14".
BLACK_VERSIONto23.7.0for Python 3.14 compatibility..github/workflows/test_suite.ymlto use appropriate Python versions for each job including matrix strategies forunitandsystemjobs.NOTE: The following CI/CD check is failing:
SQLAlchemy Spanner dialect / compliance_tests_20Per Gemini: The
compliance_test_20session 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.