🔧 chore: bump python package to 0.2.1 (pins Julia v0.1.6) - #32
Merged
Merged
Conversation
0.2.0 was tagged and published from the v0.1.5 merge commit, so the wheel on PyPI pins `=0.1.5` and Python users still see `status='unknown'` from SequentialSolve. PyPI does not allow replacing a released version, so ship the corrected pin as 0.2.1. Only change is the juliapkg.json pin, already on main.
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.
Why
py-v0.2.0was tagged at commit30b2655— the v0.1.5 merge — and published to PyPI at00:12 UTC, before v0.1.6 existed. The released wheel therefore pins
=0.1.5:{"packages": {"DualPerspective": {"version": "=0.1.5"}}}That install works — users get the
reset!fix — but not the v0.1.6 SequentialSolve statusfix, so
Solution.statusstill comes back'unknown'on successful solves. PyPI does notallow replacing a released version, so the corrected pin ships as 0.2.1.
What
Only the version number. The
=0.1.6pin is already onmainfrom #31; the sole diffbetween the published tag and
mainunderpypi/was that one line.Verified
Built the wheel, installed it into a clean venv with an empty
JULIA_DEPOT_PATHand no devoverride, so juliapkg resolved the pin from the registry:
status='optimal'— which is the whole point of the bump.Release
After merge:
git tag py-v0.2.1 && git push origin py-v0.2.1. v0.1.6 is already registeredand propagated, so the pin resolves immediately.