Skip to content

chore: Bump latest polars version to v1.43#369

Merged
Oliver Borchert (borchero) merged 2 commits into
mainfrom
bump-polars
Jul 22, 2026
Merged

chore: Bump latest polars version to v1.43#369
Oliver Borchert (borchero) merged 2 commits into
mainfrom
bump-polars

Conversation

@borchero

@borchero Oliver Borchert (borchero) commented Jul 21, 2026

Copy link
Copy Markdown
Member

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 🚀

@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (e4353e7) to head (9a8d38c).
⚠️ Report is 3 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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-latest from polars 1.41.* to 1.43.* (and update pixi.lock accordingly).
  • Add a new benchmark that exercises Collection.filter(..., eager=False) and forces evaluation via collect_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.

Comment thread pyproject.toml
Comment thread pixi.toml
@borchero
Oliver Borchert (borchero) merged commit f32b155 into main Jul 22, 2026
33 checks passed
@borchero
Oliver Borchert (borchero) deleted the bump-polars branch July 22, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants