Repository navigation
chore(release): date 0.5.0 - #32
Merged
Merged
Conversation
Dates `[Unreleased]` as `0.5.0` and adds its compare link. Verified against `git diff v0.4.0..main -- CHANGELOG.md` that the section contains exactly the nine subheadings added since that tag, so no already-published content is re-dated. Breaking, because the release corrects a padding defect in v0.4.0 itself: 30 of 82 oracle cases diverged from pypa/packaging 26.2, now 0. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Dates
[Unreleased]as0.5.0and prepares the tag. Changelog only, no code.Why 0.5.0 and not 0.4.1
0.5.0carries Breaking changes, and while the major version is0this module ships breaking changes in a minor bump. The headline is a correctness fix tov0.4.0itself.What this release contains
Three merged PRs:
Specifier/Specifiersquery API that PEP 440/508 conformance assertions need, plus the marker environment helpers.test_specifiers.pyconformance tables and the six root-cause divergences they surfaced, four of them in matching rather than parsing.tags/: free-threaded andabi3tABI, distro libc baselines, pre-11 macOS, PyPy ABI, the cross-major manylinux walk, and the pre-3.8m/uabiflags fix.v0.4.0shipped a padding bug. This fixes it.Anyone on
v0.4.0should upgrade. ItspadVersionzero-padding loops usedfor i := 0; i < len(left)-len(right); i++, whose bound shrinks as the slice grows, so they appended ⌈gap/2⌉ zeros instead ofgap. Measured againstpypa/packaging26.2 over an 82-row oracle sweeping gaps of 1–4 in both directions:v0.4.0diverges on 30 of 82 cases; this release on 0.Two consequences worth stating plainly:
!=7.0.0.*matched7, where the reference excludes it — a repository server would serve a version pip refuses.v0.4.0also introduced a regression:==0.0.0.*matched1!1.0where the previous release correctly did not, becauseversionSplitdid not prepend the epoch the way upstream's_version_splitdoes.v0.4.0's notes described those cases as a pre-existing epoch divergence "merely exposed"; that was wrong, and the entry in this release corrects it.The bug survived because
⌈1/2⌉ == 1, so a one-segment gap is correct by accident — and every test case written for it used a one-segment gap.Verification
Full suite green on
mainatc4ebad6; conformance is 2,105 subtests with 0 failing.gofmtclean under both the CI-pinned Go 1.25 and local 1.26.golangci-lintclean from the module root.[Unreleased]contents were confirmed genuinely unreleased before dating, by diffingv0.4.0..mainoverCHANGELOG.md— it adds exactly the nine subheadings now dated as0.5.0, so nothing already-tagged is re-dated.The
Previously undocumented, shipped in 0.1.0subsection stays inside0.5.0deliberately:v0.1.0is tagged and immutable, so the documentation of those two changes ships now, which is what the date records.🤖 Generated with Claude Code