fix: bump python __version__ to 0.6.0 (missed by PR #37) - #38
Merged
Conversation
PR #37 bumped Cargo.toml and pyproject.toml (fixing the wheel name that had caused the v0.6.0 PyPI publish to fail with '400 File already exists') but left python/polars_statistics/__init__.py __version__ at 0.5.0, so the installed package would misreport its version at runtime. Align it to 0.6.0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Context
The
v0.6.0PyPI publish run (32041071413) failed with400 File already existsbecause maturin built0.5.0-named wheels — the version bump had only landed inCargo.lock.PR #37 (
c0f1bed) fixed the wheel-name blocker by bumpingCargo.tomlandpyproject.tomlto0.6.0, and (7e3c3bb) addedskip-existingto the prod publish step. However it missedpython/polars_statistics/__init__.py, where__version__was still"0.5.0".Change
Bump
__version__0.5.0 → 0.6.0so the installed package reports its version correctly at runtime. This matters because a0.6.0wheel can only be published to PyPI once — we want the shipped artifact to report the right version.After this merges, all four version sources agree on
0.6.0(Cargo.toml,pyproject.toml,Cargo.lock,__init__.py), and the publish can be re-triggered (thev0.6.0tag still points at the pre-fix commit and must be re-pointed, or useworkflow_dispatch → pypi).🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.