Skip to content

chore: Bump polars to v1.39#299

Merged
Oliver Borchert (borchero) merged 3 commits intomainfrom
copilot/update-polars-to-v1-39
Mar 18, 2026
Merged

chore: Bump polars to v1.39#299
Oliver Borchert (borchero) merged 3 commits intomainfrom
copilot/update-polars-to-v1-39

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 18, 2026

  • Update pixi.toml to set polars-latest to 1.39.*
  • Run pixi update to regenerate lock file (polars 1.38.1 → 1.39.2)
  • Fix test_repr_collection - polars 1.39 changed plan repr format from PROJECT["a"] 1/1 COLUMNS to PROJECT */1 COLUMNS
  • Skip test_repr_collection for polars < 1.39 using _polars_version_tuple runtime check
  • All 2655 tests pass

📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (4adee6f) to head (291a870).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #299   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           54        54           
  Lines         3127      3127           
=========================================
  Hits          3127      3127           

☔ View full report in Codecov by Sentry.
📢 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 changed the title [WIP] Update polars to v1.39 and fix failing tests build: bump polars to v1.39 Mar 18, 2026
@github-actions github-actions bot added the build label Mar 18, 2026
@borchero Oliver Borchert (borchero) changed the title build: bump polars to v1.39 chore: Bump polars to v1.39 Mar 18, 2026
@github-actions github-actions bot added the chore label Mar 18, 2026
@borchero
Copy link
Copy Markdown
Member

Copilot skip the test that currently fails for polars-minimal whenever the polars version is not >=1.39. Investigate the codebase for how to do runtime version checks.

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 18, 2026

Copilot skip the test that currently fails for polars-minimal whenever the polars version is not >=1.39. Investigate the codebase for how to do runtime version checks.

Added a pytest.mark.skipif using _polars_version_tuple from dataframely._compat to skip the test when polars < 1.39. See 291a870.

@borchero Oliver Borchert (borchero) marked this pull request as ready for review March 18, 2026 22:39
Copilot AI review requested due to automatic review settings March 18, 2026 22:39
@borchero Oliver Borchert (borchero) merged commit 1527718 into main Mar 18, 2026
32 of 35 checks passed
@borchero Oliver Borchert (borchero) deleted the copilot/update-polars-to-v1-39 branch March 18, 2026 22:39
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s “latest polars” environment to polars 1.39 and aligns a Collection repr test with polars 1.39’s query plan formatting changes.

Changes:

  • Bump feature.polars-latest in pixi.toml from 1.38.* to 1.39.*.
  • Regenerate pixi.lock to pin polars (and runtimes) to 1.39.2 across platforms.
  • Adjust test_repr_collection expected output for polars 1.39 and add a version gate.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
tests/collection/test_repr.py Updates expected plan repr and adds a polars-version condition around the test.
pixi.toml Bumps the “polars-latest” feature dependency constraint to 1.39.*.
pixi.lock Updates locked artifacts to polars 1.39.2 / runtime 1.39.2 across platforms.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines 115 to +120
# NOTE: Update docs/faq.md when updating this.
polars = "1.35.*"

[feature.polars-latest.dependencies]
# NOTE: Update docs/faq.md when updating this.
polars = "1.38.*"
polars = "1.39.*"
Comment on lines +26 to +29
@pytest.mark.skipif(
_polars_version_tuple < (1, 39),
reason="query plan repr changed in polars 1.39",
)
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