Skip to content

Version/metadata guard between pyproject and the published py_wheel - #5

Merged
fughilli merged 2 commits into
masterfrom
client-version-guard
Jul 30, 2026
Merged

Version/metadata guard between pyproject and the published py_wheel#5
fughilli merged 2 commits into
masterfrom
client-version-guard

Conversation

@fughilli

Copy link
Copy Markdown
Owner

Adds a CI version-check job (scripts/check_client_version.py, stdlib-only): the client version and shared metadata (summary, requires-python, license, Homepage) must agree between pyproject.toml
and the py_wheel target; on tag builds the version must equal the tag (now gating the wheel/PyPI job); on other builds it must be <= the latest release tag. Also enriches the published wheel's metadata
(README long description, MIT license, project URLs) so the PyPI page isn't bare.

🤖 Generated with Claude Code

Kevin Balke and others added 2 commits July 30, 2026 00:49
scripts/check_client_version.py (stdlib-only) enforces three invariants:
client/pyproject.toml and the py_wheel version in client/BUILD.bazel
agree; on tag builds the version equals the tag (gating the PyPI publish
and release upload — the wheel job now needs version-check); on all
other builds the version is <= the latest v* tag, so a bumped version
without a matching release fails CI instead of silently drifting.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ject

The CI-published wheel now carries the README as its long description
(markdown), the MIT license, and project URLs — so the PyPI page isn't
bare. check_client_version.py grows from a version check into a metadata
sync check: description/summary, requires-python, license, and Homepage
must all agree between pyproject.toml (pip path) and the py_wheel target
(published path). The client README's sigbot link is absolute now, since
it renders on PyPI.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@fughilli
fughilli merged commit de87740 into master Jul 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant