Repository navigation
chore: prepare 0.3.2 release for v1.0alpha milestone - #144
Merged
Merged
Conversation
Bump the Python package and Rust workspace version to 0.3.2 so the unified v1.0alpha tag can build and publish a new release. The release validator previously accepted stable vX.Y.Z tags only and would reject v1.0alpha. Add an explicit MILESTONE_TAGS mapping and keep the validation order: version sources must agree, registered milestones must match their mapped package version, stable tags keep the existing rule, unregistered prerelease tags remain rejected. Cargo lockfile and main-ancestry checks are unchanged.
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.
Milestone
Unified v1.0alpha. Package version: 0.3.2 (Python package and Rust workspace).
What changed
Cargo.toml—[workspace.package] version0.3.1 -> 0.3.2.Cargo.lock— refreshed workspace package versions (persisting-dlcapt,persisting-pchronicle,persisting-pchronicle-cli);cargo metadata --lockedpasses.pyproject.toml— project version 0.3.1 -> 0.3.2.persisting/__init__.py—__version__0.3.1 -> 0.3.2.uv.lock— editablepersistingpackage version 0.3.1 -> 0.3.2.CHANGELOG.md— new[0.3.2] - 2026-12-01entry recording the v1.0alpha milestone and the milestone-tag mapping.scripts/ci/check_release_version.py— add an explicitMILESTONE_TAGS = {"v1.0alpha": "0.3.2"}mapping; validation order is now (1) the three version files must agree, (2) a registered milestone tag requires the package version to equal its mapped version, (3) other tags keep the existing stablevX.Y.Zrule, (4) unregistered prerelease tags stay rejected, (5) Cargo lockfile and main-ancestry checks unchanged.tests/test_release_packaging.py— cover stable tag pass/fail,v1.0alpha+ 0.3.2 pass,v1.0alpha+ wrong version fail, sources-before-mapping ordering, and unregistered prerelease tags fail.pchronicle-web/Cargo.tomlstays at 0.3.1 on purpose: it is a separate Cargo workspace with its ownCargo.lock, is not a member of the released workspace, and no release/packaging check reads its version (the validator reads only rootpyproject.toml, rootCargo.toml, andpersisting/__init__.py; wheel staging only builds itsdxassets).Validation (local, this commit)
justis not installed in this environment, so the equivalent commands were run directly with a Python 3.12 test venv:Release workflow note
Pushing tag
v1.0alphaat the merged commit triggers.github/workflows/release.yml(on: push: tags: v*).Validate releasenow accepts the tag throughMILESTONE_TAGS, prints0.3.2, and the downstream jobs buildpersisting-0.3.2-*wheels, verify the artifact set, publish to PyPI, and create the GitHub Release from the workflow. No manual Release will be created for this tag; no existing PyPI version is reused.