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

fix: Fix scanning google cloud with service account credentials file #19782

Merged
merged 3 commits into from
Nov 14, 2024

Conversation

nameexhaustion
Copy link
Collaborator

Fixes #19781

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Nov 14, 2024
scopes=(
scopes
if scopes is not None
else ["https://www.googleapis.com/auth/cloud-platform"]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"cloudpickle",
"connectorx",
"deltalake",
"fastexcel",
"fsspec",
"gevent",
"google.auth",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

drive-by print the boto3 and google-auth package versions in show_versions(), since we could be using them now

@ritchie46 ritchie46 merged commit 97c82d0 into pola-rs:main Nov 14, 2024
12 checks passed
Copy link

codecov bot commented Nov 14, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 79.56%. Comparing base (420c0d9) to head (a1abee7).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
py-polars/polars/io/cloud/credential_provider.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #19782   +/-   ##
=======================================
  Coverage   79.55%   79.56%           
=======================================
  Files        1544     1544           
  Lines      213240   213338   +98     
  Branches     2441     2442    +1     
=======================================
+ Hits       169645   169735   +90     
- Misses      43046    43053    +7     
- Partials      549      550    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nameexhaustion nameexhaustion deleted the goog-auth branch November 18, 2024 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GOOGLE_APPLICATION_CREDENTIALS environment variable no more detected
2 participants