Skip to content

Fix: one version source, block mis-versioned release files (0.2.1) - #9

Merged
altrudev merged 1 commit into
mainfrom
altru/single-version-source
Dec 5, 2026
Merged

altrudev merged 1 commit into
mainfrom
altru/single-version-source

Conversation

@altrudev

@altrudev altrudev commented Dec 5, 2026

Copy link
Copy Markdown
Owner

v0.2.0 was released with package files named 0.1.0: pyproject.toml had its own static version, and the release check only compared the tag with __version__.

  • The version is now read from src/pqdocket/__init__.py only (hatch dynamic version).
  • release_evidence.py fails if any release file name lacks the version. A new test covers it.
  • CI builds the package on every PR and fails if the file names do not carry the version.
  • Version bumped to 0.2.1.

.altru/LESSONS.md records the cause.


Generated by Claude Code

…rsion

v0.2.0 was published with packages named 0.1.0 because pyproject.toml kept
its own static version. The version is now read from src/pqdocket/__init__.py,
the release evidence check fails if any artifact name lacks the version, and
CI builds the package on every pull request. Bumps to 0.2.1.
@altrudev
altrudev merged commit 5f6f49a into main Dec 5, 2026
4 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