Relax sqlalchemy version pin and add pre-release test workflow#1884
Open
mscheltienne wants to merge 2 commits intofastapi:mainfrom
Open
Relax sqlalchemy version pin and add pre-release test workflow#1884mscheltienne wants to merge 2 commits intofastapi:mainfrom
mscheltienne wants to merge 2 commits intofastapi:mainfrom
Conversation
Author
|
Should I run |
Contributor
📝 Docs previewLast commit 175f9db at: https://6588ea3c.sqlmodel.pages.dev |
This was referenced Apr 23, 2026
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.
At my company, we are driving towards compatibility with python
3.14tfree-threaded. While investigating the remaining changes necessary, we noticed that:sqlalchemyversion 2.1.0b2 +sqlmodel0.0.38 (everything pass, we test mainly DB operations withpostgresusingpsycopg[c]against local dockerized DB and against actual AWS DB).sqlmodel0.0.38 (and other versions) have a very conservative"SQLAlchemy >=2.0.14,<2.1.0"constraint, preventing the installation of2.1.0b2by default.sqlmodelseems compatible withSQLAlchemy2.1.0+This PR thus proposes 2 changes:
<2.2.0, offering support for the newSQLAlchemyversion soon-to-be-released and by extension to free-threaded python.sqlalchemy, including pre-release versions.