Skip to content

fix(build): use hatch-vcs for dynamic versioning from git tags#8

Merged
othercodes merged 2 commits intomasterfrom
fix/hatch-vcs-dynamic-versioning
Mar 6, 2026
Merged

fix(build): use hatch-vcs for dynamic versioning from git tags#8
othercodes merged 2 commits intomasterfrom
fix/hatch-vcs-dynamic-versioning

Conversation

@othercodes
Copy link
Copy Markdown
Owner

Replace hardcoded version in pyproject.toml with hatch-vcs dynamic versioning. The version is now derived from git tags, eliminating the sed hack in the release workflow and ensuring version is always correct at runtime.

  • Add fallback-version for non-git build contexts

Replace hardcoded version in pyproject.toml with hatch-vcs dynamic
versioning. The version is now derived from git tags, eliminating the
sed hack in the release workflow and ensuring __version__ is always
correct at runtime.

- Add fallback-version for non-git build contexts
@othercodes othercodes self-assigned this Mar 6, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 6, 2026

@othercodes othercodes merged commit 0920107 into master Mar 6, 2026
17 checks passed
@othercodes othercodes deleted the fix/hatch-vcs-dynamic-versioning branch March 6, 2026 08:44
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