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

feat: Centralise acquisition of "POLARS_TEMP_DIR", and add set_temp_dir to the Config object #18063

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alexander-beedie
Copy link
Collaborator

@alexander-beedie alexander-beedie commented Aug 6, 2024

Allow the Config object to set the "POLARS_TEMP_DIR" env var.

@github-actions github-actions bot added enhancement New feature or an improvement of an existing feature python Related to Python Polars labels Aug 6, 2024
Copy link

codecov bot commented Aug 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.33%. Comparing base (bc65bd0) to head (db1d91f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #18063      +/-   ##
==========================================
- Coverage   80.35%   80.33%   -0.02%     
==========================================
  Files        1496     1496              
  Lines      197685   197691       +6     
  Branches     2821     2823       +2     
==========================================
- Hits       158845   158816      -29     
- Misses      38319    38354      +35     
  Partials      521      521              

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

@alexander-beedie alexander-beedie marked this pull request as draft August 7, 2024 05:52
@alexander-beedie
Copy link
Collaborator Author

alexander-beedie commented Aug 7, 2024

Found two different places where "POLARS_TEMP_DIR" is established on the Rust side, so I'm going to tweak this PR a little. Will park in Draft while I work out how to best consolidate 🤔

@alexander-beedie alexander-beedie force-pushed the cfg-temp-dir branch 4 times, most recently from 213d1f3 to d48afc5 Compare August 10, 2024 14:14
@alexander-beedie alexander-beedie changed the title feat(python): Add set_temp_dir to the Config object feat: Centralise internal acquisition of "POLARS_TEMP_DIR", and add set_temp_dir to the Config object Aug 10, 2024
@alexander-beedie alexander-beedie changed the title feat: Centralise internal acquisition of "POLARS_TEMP_DIR", and add set_temp_dir to the Config object feat: Centralise acquisition of "POLARS_TEMP_DIR", and add set_temp_dir to the Config object Aug 10, 2024
@github-actions github-actions bot added the rust Related to Rust Polars label Aug 10, 2024
@alexander-beedie alexander-beedie force-pushed the cfg-temp-dir branch 5 times, most recently from 7ce0ed8 to 5751c75 Compare August 10, 2024 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant