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: Migrate to PyO3 0.22 and released verion of rust-numpy crate #19199

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

itamarst
Copy link
Contributor

Fixes #17273

This also tweaks the abi3 in the polars-python crate to match what was in py-polars (3.9), since Python 3.8 is now EOL.

The commits are a commit per category of change I made.

…ng deprecated, and rather than investigating one by one if it's necessary, I just matched the current behavior in a way that suppresses warnings.
You can opt-in with a feature, but that requires the GIL to be held or it
panics, so it didn't actually work even if it compiled. So I just switched to
the new API requirement.
@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Oct 11, 2024
Copy link

codecov bot commented Oct 11, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 10 lines in your changes missing coverage. Please review.

Project coverage is 79.67%. Comparing base (44439d9) to head (dfc9d28).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
crates/polars-python/src/file.rs 0.00% 5 Missing ⚠️
crates/polars-python/src/dataframe/serde.rs 0.00% 3 Missing ⚠️
crates/polars-plan/src/dsl/python_udf.rs 85.71% 1 Missing ⚠️
...rates/polars-python/src/lazyframe/visitor/nodes.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #19199      +/-   ##
==========================================
+ Coverage   79.64%   79.67%   +0.02%     
==========================================
  Files        1532     1532              
  Lines      209131   209206      +75     
  Branches     2416     2416              
==========================================
+ Hits       166570   166677     +107     
+ Misses      42015    41983      -32     
  Partials      546      546              

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

@itamarst itamarst marked this pull request as ready for review October 11, 2024 19:01
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.

Migrate to PyO3 0.22
2 participants