Skip to content

dynamic pyproject version and make release target#7

Merged
folkengine merged 1 commit into
mainfrom
publish
May 2, 2026
Merged

dynamic pyproject version and make release target#7
folkengine merged 1 commit into
mainfrom
publish

Conversation

@folkengine
Copy link
Copy Markdown
Contributor

release tooling and dynamic pyproject version" --body "$(cat <<'EOF'

Summary

  • pyproject.toml: switch to dynamic = ["version"] so the Python distribution version tracks Cargo.toml. Verified with a local maturin build --release producing pkpython-0.0.54-*.whl.
  • Makefile: add make version and make release targets. The release target is the trigger for .github/workflows/publish.yml.

Test plan

  • make version prints 0.0.54
  • make build succeeds; wheel name carries 0.0.54
  • make release preflights correctly (clean tree, CHANGELOG entry present, tag not yet existing)

  - pyproject.toml: switch to dynamic = ["version"] so maturin reads
    the version from Cargo.toml at build time, eliminating the drift
    that left pkpython pinned at 0.1.0 on PyPI while Cargo advanced.
  - Makefile: add `make version` (prints Cargo.toml version) and
    `make release` (preflights clean tree, missing CHANGELOG entry,
    duplicate tag; then annotate-tags HEAD and pushes to origin to
    fire publish.yml).
@folkengine folkengine merged commit c80e1a4 into main May 2, 2026
1 check passed
@folkengine folkengine deleted the publish branch May 2, 2026 02:15
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