-
Notifications
You must be signed in to change notification settings - Fork 91
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
Pin to duckdb v0.10.2 to avoid view dependencies #399
Conversation
Skip duckdb v0.10.3 to avoid issues with view dependency enforcement. This will be fixed in 0.10.4 by the enable_view_dependencies configuration setting (which is set to false by default).
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.
Just a question on how this works-- I don't normally have this problem
# add dbt-core to ensure backwards compatibility of installation, this is not a functional dependency | ||
"dbt-core>=1.8.0", | ||
], | ||
extras_require={"glue": ["boto3", "mypy-boto3-glue"], "md": ["duckdb>=0.10.2"]}, | ||
extras_require={"glue": ["boto3", "mypy-boto3-glue"], "md": ["duckdb==0.10.2"]}, |
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.
I think this change isn't needed? The constraint on the top-level dependency should prevent 0.10.3 from being installed if the user requests dbt-duckdb[md]
.
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.
Maybe not, but I don't think it does any harm
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.
This is only used by the CI right now
This PR adds a constraint to setup.py to skip
duckdb
v0.10.3 and avoid issues with view dependency enforcement. This will be fixed in 0.10.4 and above by theenable_view_dependencies
configuration setting (which is set to false by default).Related issue: duckdb/duckdb#12191