-
Notifications
You must be signed in to change notification settings - Fork 130
Allow sqlalchemy before 2.0 #959
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
Conversation
Originally it was pinned this way in 17db824 but no clear indication was recorded on why that is needed. If sqlalchemy really follows semver then it should remain comaptible with all the way to 2.0 . Otherwise - it makes pybids not installable in an env which actually requires newer sqlalchemy (more plausing) like in our case see datalad/datalad-registry#141 (comment)
|
This will break. We rely on deprecated behavior that was removed in 1.4. xref #679 |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #959 +/- ##
==========================================
+ Coverage 86.35% 86.54% +0.19%
==========================================
Files 35 35
Lines 4023 4043 +20
Branches 974 974
==========================================
+ Hits 3474 3499 +25
+ Misses 355 353 -2
+ Partials 194 191 -3 see 6 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
|
sample failed tests from a pre-release (ubuntu-latest, 3.8, pip, ci_tests, PRE_PIP_FLAGS) so indeed would need into looking , probably starting from @candleindark do you have any immediate ideas/past experience related to this? |
Sorry, I don't have any immediate experience with this error. Some background information for you if you are not already aware about. SQLAlchemy 1.4 is a "transitional" version. You may want to use SQLAlchemy 2.0 style of working even in SQLAlchemy 1.4. For more information, please checkout "About this document" in https://docs.sqlalchemy.org/en/14/tutorial/index.html#sqlalchemy-1-4-2-0-tutorial. |
|
Our goal is to drop sqlalchemy altogether. It will take some time. |
This page may be useful for you. For that particular error, you may want to look into https://docs.sqlalchemy.org/en/14/changelog/migration_14.html#the-new-instance-conflicts-with-existing-identity-error-is-now-a-warning |
What are you going to replace it with? I always want to try https://www.edgedb.com/. |
|
Some dependencies have started dropping support for SQLAlchemy 1.3, not necessarily on purpose: I bet this will keep popping up in the near future. |
|
Replaced by #985. |
Originally it was pinned this way in
17db824
but no clear indication was recorded on why that is needed. If sqlalchemy really follows semver then it should remain comaptible with all the way to 2.0 .
Otherwise - it makes pybids not installable in an env which actually requires newer sqlalchemy (more plausing) like in our case see datalad/datalad-registry#141 (comment)