-
Notifications
You must be signed in to change notification settings - Fork 41
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
Fix: Skip latest sqlalchemy version until duckdb_engine fixes bug #429
Conversation
📝 Walkthrough📝 WalkthroughWalkthroughThe changes in this pull request involve an update to the Changes
Assessment against linked issues
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (2)
pyproject.toml (2)
40-40
: Dependency version constraint updated for sqlalchemy. LGTM!The change from
">=1.4.51,<3.0"
to">=1.4.51,!=2.0.36,<3.0"
aligns perfectly with the PR objective of skipping the latest SQLAlchemy version due to the DuckDB engine bug. This should effectively prevent the use of version 2.0.36 while maintaining compatibility with other versions within the specified range.Quick question though: Have you considered adding a comment explaining why this specific version is excluded? It might help future maintainers understand the reasoning behind this constraint. Something like:
# Exclude SQLAlchemy 2.0.36 due to a DuckDB engine bug (see issue #423) sqlalchemy = ">=1.4.51,!=2.0.36,<3.0"What do you think? This could provide valuable context without cluttering the file too much. WDYT?
40-40
: Consider adding a TODO for future removalThis version constraint is a great temporary fix for the DuckDB engine bug. To ensure we don't forget about it, how about we add a TODO comment or create a follow-up issue to revisit this constraint once the DuckDB engine bug is resolved?
Something like:
# TODO: Remove SQLAlchemy version constraint once DuckDB engine bug is fixed (issue #423) sqlalchemy = ">=1.4.51,!=2.0.36,<3.0"Or we could create a GitHub issue to track this. What's your preference? This way, we can ensure this temporary fix doesn't accidentally become permanent. WDYT?
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
- pyproject.toml (1 hunks)
🧰 Additional context used
🔇 Additional comments (2)
pyproject.toml (2)
40-40
: Verify compatibility with related dependenciesThe SQLAlchemy version change looks good, but it might be worth double-checking its impact on related dependencies. Particularly, could you confirm that this change doesn't affect the functionality of
duckdb
,duckdb-engine
,snowflake-connector-python
, andsnowflake-sqlalchemy
?It would be great to run a quick test suite to ensure everything still works as expected with this constraint in place. Have you had a chance to do that yet? If not, would you like some help setting up a test scenario?
40-40
: Overall, this change looks good and addresses the immediate issue effectively!To recap:
- The SQLAlchemy version constraint update aligns with the PR objective.
- We've suggested adding a comment for context.
- It's worth verifying compatibility with related dependencies.
- Consider adding a TODO or creating an issue for future removal of this constraint.
These suggestions aim to improve documentation, ensure stability, and facilitate future maintenance. Let me know if you'd like any clarification or assistance with implementing these suggestions!
/poetry-lock
|
Resolving dependencies... changes
Fixes #423
Summary by CodeRabbit
sqlalchemy
dependency to exclude version2.0.36
, ensuring compatibility with existing features.