docs(development): Add polars version bump guide#1727
Open
Conversation
Document the step-by-step workflow for bumping the polars version, including common patterns for deprecations, CI troubleshooting tips, and NEWS.md conventions. Based on lessons learned from the py-1.37.1 → py-1.38.1 bump. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new section to DEVELOPMENT.md documenting the workflow for bumping the pinned upstream Polars revision (in src/rust/Cargo.toml), with guidance on investigating upstream changes, regenerating artifacts, handling deprecations, and common CI issues.
Changes:
- Documented a step-by-step process for updating the Polars git
revpins and rebuilding/regenerating artifacts. - Added examples for parameter/method/class deprecation patterns intended to mirror existing codebase practices.
- Added CI troubleshooting notes and
NEWS.mdheading/link conventions for version bump PRs.
This is a personal setup, not a standard part of the workflow. Replace with generic guidance about comparing upstream tags. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix version bump explanation: DESCRIPTION is updated by build-lib-sums, not build-autogenerated-polars-version-file - Fix build-all description to include build-lib-sums and build-readme - Use local deprecated()/is_present() helpers instead of lifecycle:: prefix - Fix sprintf argument order in deprecation example (format_arg before format_fn) - Fix "deprecating a method" intro to cover both delegation and no-op patterns Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
eitsupi
commented
Feb 8, 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.
Summary
Test plan
🤖 Generated with Claude Code