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

Adapt to IR changes in polars 1.4 #16494

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

lithomas1
Copy link
Contributor

@lithomas1 lithomas1 commented Aug 5, 2024

Description

Adapts to IR changes in polars 1.4 and handles nrows/skiprows a little more correctly.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

Co-authored-by: Lawrence Mitchell <[email protected]>
@lithomas1 lithomas1 added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Aug 5, 2024
@github-actions github-actions bot added Python Affects Python cuDF API. cudf.polars Issues specific to cudf.polars labels Aug 5, 2024
@lithomas1 lithomas1 marked this pull request as ready for review August 5, 2024 20:49
@lithomas1 lithomas1 requested a review from a team as a code owner August 5, 2024 20:49
@lithomas1 lithomas1 requested review from wence- and mroeschke and removed request for a team August 5, 2024 20:49
@@ -87,7 +87,7 @@ def _(
if predicate is not None
else None
)
else:
else: # pragma: no cover; CI tests 1.4
Copy link
Contributor

Choose a reason for hiding this comment

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

this is fine for now but if the range of polars versions supports becomes wide we might consider having a couple different coverage rc files that specify which lines to ignore and conditionally decide which one to pass based on the polars version

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point.

We can cover the oldest and newest polars via CI testing, but not sure if it's worth to expand the CI matrix to cover versions in the middle as well.

@lithomas1 lithomas1 merged commit 7d0c7ad into rapidsai:feature/cudf-polars Aug 5, 2024
80 of 81 checks passed
@lithomas1 lithomas1 deleted the polars-1.4 branch August 5, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cudf.polars Issues specific to cudf.polars improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants