Skip to content

Release 1.0.3: fix stale README version + enforce version consistency - #28

Merged
OVVO-Financial merged 1 commit into
mainfrom
claude/intelligent-johnson-6ctwxv
Jun 14, 2026
Merged

Release 1.0.3: fix stale README version + enforce version consistency#28
OVVO-Financial merged 1 commit into
mainfrom
claude/intelligent-johnson-6ctwxv

Conversation

@OVVO-Financial

Copy link
Copy Markdown
Owner

What went wrong

The README has a hand-maintained | Current version | ... | row. It was bumped for 1.0.1 but not for 1.0.2, so the published 1.0.2 PyPI page (the README is the project description) shows "Current version 1.0.1" — contradicting the real version. PyPI versions are immutable, so the fix ships as 1.0.3.

Fix + permanent guard

  • Bump pyproject, nns.__version__, and the README current-version row to 1.0.3.
  • scripts/check_version_consistency.py — fails if pyproject [project].version, nns.__version__, and the README current-version row disagree.
  • Wired as a release gate in release.yml (runs on every release, including TestPyPI dry runs) → a stale version can never be published again.
  • Asserted in tests/tools/test_version_sync.py → PR CI catches the drift on the bump itself.

Validation

  • Gate passes at 1.0.3; fails with a clear message when the README version is tampered (verified).
  • ruff + mypy clean; release.yml parses; version-sync test passes; twine check --strict passes on ovvo_nns-1.0.3.tar.gz; provenance gate passes for v1.0.3.

https://claude.ai/code/session_012bjk4Y5eT1Sva8tNJjqUSw


Generated by Claude Code

PyPI's sidebar only renders Author/Maintainer, so contributor credit
lives in the project description (README). Promote the buried Attribution
line into a dedicated 'Authors and contributors' section so Fred Viole
(author/maintainer) and contributors Roberto Spadim and Rasheed Khoshnaw
are clearly visible on the PyPI page.
@OVVO-Financial
OVVO-Financial merged commit 6a877bf into main Jun 14, 2026
8 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.

2 participants