chore: Bump latest polars version to v1.43#369
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #369 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 56 56
Lines 3506 3507 +1
=========================================
+ Hits 3506 3507 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Oliver Borchert (borchero)
marked this pull request as ready for review
July 22, 2026 09:18
Oliver Borchert (borchero)
requested a review
from Andreas Albert (AndreasAlbertQC)
as a code owner
July 22, 2026 09:18
Oliver Borchert (borchero)
requested a review
from Daniel Elsner (delsner)
as a code owner
July 22, 2026 09:18
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the “latest polars” Pixi environment to polars 1.43.* and adjusts the repo’s benchmarks/test configuration to accommodate behavioral changes observed when evaluating eager vs lazy collection filtering.
Changes:
- Bump
feature.polars-latestfrompolars 1.41.*to1.43.*(and updatepixi.lockaccordingly). - Add a new benchmark that exercises
Collection.filter(..., eager=False)and forces evaluation viacollect_all(). - Silence a newly encountered Polars deprecation warning in pytest configuration.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| tests/benches/test_collection.py | Adds a benchmark for lazy (eager=False) collection filtering and collection via collect_all(). |
| pyproject.toml | Adds a filterwarnings entry to ignore a Polars concat deprecation warning. |
| pixi.toml | Updates feature.polars-latest to polars = "1.43.*". |
| pixi.lock | Regenerates the lockfile to reflect the Polars 1.43.x upgrade across platforms. |
Andreas Albert (AndreasAlbertQC)
approved these changes
Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
I wanted to check whether pola-rs/polars#28341 results in faster lazy evaluation of collection filtering. Indeed, when setting
POLARS_ALLOW_NESTED_CSPE=1, we see no significant diff between eager and lazy evaluation 🚀