Skip to content

Chore: add no-op extras for duckdb and motherduck #4829

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 1 commit into from
Jun 30, 2025
Merged

Conversation

treysp
Copy link
Contributor

@treysp treysp commented Jun 26, 2025

duckdb is included in the core sqlmesh dependencies, so neither the duckdb nor motherduck engines require installing a pip extra. However, that may not be obvious to users, and they still attempt a pip install "sqlmesh[duckdb]".

Currently, that gives a pip error, which is misleading. This PR adds no-op extras for duckdb/motherduck so the error does not occur.

Note: spark does not require an extra install, but its dependencies are NOT included in core sqlmesh. Therefore, the PR does not add a spark no-op extra. That way, the user encounters the dependency errors while performing installation (rather than later when they are actually trying to use sqlmesh).

@izeigerman izeigerman merged commit 7057df7 into main Jun 30, 2025
25 checks passed
@izeigerman izeigerman deleted the trey/noop-extras branch June 30, 2025 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants