FIX: compatibility with SQLAlchemy < 1.4.0#105
Conversation
|
Thanks for submitting your first pull request! You are awesome! 🤗 |
for more information, see https://pre-commit.ci
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #105 +/- ##
==========================================
- Coverage 83.30% 83.21% -0.10%
==========================================
Files 20 20
Lines 1354 1358 +4
==========================================
+ Hits 1128 1130 +2
- Misses 226 228 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
I believe that 0.14 has been out since july of 2021 (https://docs.sqlalchemy.org/en/20/changelog/changelog_14.html#change-1.4.0) so I'd be +1 on just bumping our lower-bound to that version. What do you think? |
|
On the other hand, I have read that 1.4 is a "transitional" version (bids-standard/pybids#959 (comment)), and version 2.0 is only a few months old. Not sure if it is a good argument, though:
Keeping compatibility with 1.3 only implies a couple additional lines. Why discard that compatibility before it becomes a real issue? |
choldgraf
left a comment
There was a problem hiding this comment.
that's a pretty reasonable argument to me - since you've already got this one ready to go, let's just merge it and we can decide to deprecate <1.4 sometime in the future if it really needs to happen.
Thanks for this improvement!

Fixes #93 (comment).
The alternative would be to require
sqlalchemy>=1.4.0:jupyter-cache/pyproject.toml
Line 34 in 87e0d74