Skip to content
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

[dagster-polars] Preventing import errors when users don't have gcp modules installed #25708

Merged

Conversation

zyd14
Copy link
Contributor

@zyd14 zyd14 commented Nov 2, 2024

Summary & Motivation

Addressing #25705

How I Tested These Changes

Created a new virtual environment in which I installed the dagster-polars package from the local source. Then created a script which imported dagster_polars, reproducing the ImportError. Then I added the exception for dagster-polars[gcp], which allowed the package to import successfully.

Changelog

Preventing dagster-polars from raising ImportError when bigquery libraries are not installed

@zyd14 zyd14 changed the title Preventing import errors when users don't have gcp modules installed [dagster-polars] Preventing import errors when users don't have gcp modules installed Nov 2, 2024
@danielgafni
Copy link
Contributor

Thanks! Good catch

@danielgafni danielgafni merged commit a156e32 into dagster-io:master Nov 5, 2024
1 check failed
@zyd14 zyd14 deleted the fix/dagster-polars-import-error branch November 5, 2024 15:56
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.

2 participants