Skip to content

chore(pyproject): keep version = "0"; the tag sets the real one at publish - #44

Merged
lesnik512 merged 1 commit into
mainfrom
pyproject-version-zero
Sep 13, 2026
Merged

chore(pyproject): keep version = "0"; the tag sets the real one at publish#44
lesnik512 merged 1 commit into
mainfrom
pyproject-version-zero

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Summary

Part of modern-python/.github#94. Converges on the modern-python standard, section 2: pyproject.toml keeps version = "0" and is never bumped; just publish sets the real version from the git tag through uv version $GITHUB_REF_NAME.

Changes

  • pyproject.toml: version = "0.0.0" becomes version = "0".

uv.lock is gitignored here, so no lockfile change ships.

Checklist

  • Lint and format pass (just lint-ci)
  • Type check passes (ty) — no Python changed
  • Tests pass — metadata only; uv build produces db_retry-0 artifacts
  • Build succeeds (uv build)
  • Repo metadata stays consistent across the three surfaces — untouched

…blish

Section 2 of the standard: pyproject.toml is never bumped, `just publish`
sets the version from $GITHUB_REF_NAME.
@lesnik512
lesnik512 merged commit 6eebbc9 into main Sep 13, 2026
7 checks passed
@lesnik512
lesnik512 deleted the pyproject-version-zero branch September 13, 2026 10:13
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