You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1d880ce
Browse filesBrowse the repository at this point in the historyBrowse files
fix(release): derive version from git tag via hatch-vcs (#1503)
The version bump PR lands after the release tag, so version.py at each
tag reports the previous release: pip install git+...@vX.Y.Z and pip show
on a git install report the prior version, silently breaking version-gated
code. PyPI wheels were unaffected (built from the sed'd tree).
Make the git tag the single source of truth via hatch-vcs:
- pyproject.toml: hatch-vcs version source + vcs build hook writing the
generated src/datajoint/_version.py (git-ignored).
- version.py: re-export the generated version, falling back to installed
package metadata for source-tree runs.
- post_draft_release_published.yaml: drop the version.py sed/commit and the
follow-up bump PR; fetch full history+tags so the build resolves the tag.
- RELEASE_MEMO.md: document the tag-driven flow (no manual bump, no PR).
0 commit comments