-
Notifications
You must be signed in to change notification settings - Fork 18
Upgrade sqlalchemy to version 2 #562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
f6e9595
enable warnings
andersroos 63e2412
Upgrade statement to SQLalchemy 2.0
emanuelen5 6cd4e07
fix import
andersroos d787f2a
Upgrade statement to SQLalchemy 2.0
emanuelen5 0c44b3c
Upgrade statement to SQLalchemy 2.0
emanuelen5 94a894c
fix
andersroos 89e6ec4
Upgrade text statement to SQLalchemy 2.0
emanuelen5 98d797c
Upgrade text statement to SQLalchemy 2.0
emanuelen5 0b56fb9
fixed bind
andersroos b5f9f30
fixed
andersroos 85459ad
Upgrade text statement to SQLalchemy 2.0
emanuelen5 1d80794
Upgrade get statement to SQLalchemy 2.0
emanuelen5 d024fa9
Upgrade joinedload statement to SQLalchemy 2.0
emanuelen5 549f685
Set environment variable for test runner as well
emanuelen5 2ad9fbe
Remove usage of cascade_backrefs in many places
emanuelen5 86c72d0
Upgrade declarative_base import to SQLalchemy 2.0
emanuelen5 495de5c
Migration step 4: use future on engine
emanuelen5 0860bb4
Migration step 5: use future on session
emanuelen5 fd7a1a8
Upgrade joinedload statement to SQLalchemy 2.0
emanuelen5 c8634c4
Bump sqlalchemy to 2.0
emanuelen5 a7127b6
Remove future argument
emanuelen5 db3cfac
Remove comment
emanuelen5 88ea022
Remove env after finished upgrade to sqlalchemy 2.0
emanuelen5 ee44ed8
Upgrade get statement to SQLalchemy 2.0
emanuelen5 8f323f0
Make nothing-found-case work for SQLalchemy 2.0
emanuelen5 523147f
Pin to patch version
emanuelen5 ed6e537
Fixup 0b56fb90
emanuelen5 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| # Runtime requirements | ||
| flask | ||
| flask_cors | ||
| sqlalchemy>=1.4.9,<2.0 | ||
| sqlalchemy~=2.0.0 | ||
| gunicorn | ||
| rocky>=1,<2 | ||
| PyMySQL | ||
|
|
||
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.