Skip to content

chore(release): release Python packages (dotpromptz 0.2.0, dotpromptz-handlebars 0.2.0) - #633

Open
huangjeff5 wants to merge 2 commits into
mainfrom
chore/release-python-0.2.0
Open

huangjeff5 wants to merge 2 commits into
mainfrom
chore/release-python-0.2.0

Conversation

@huangjeff5

@huangjeff5 huangjeff5 commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Version bump for the first pure-Python release: dotpromptz 0.2.0 and dotpromptz-handlebars 0.2.0 (#620, #621, #626). release-please can't run until RELEASE_PLEASE_TOKEN is replaced, so this follows the manual flow from #614.

Main Changes

  • Both packages go to 0.2.0: dotpromptz has breaking changes (private modules, {{json}} raises TypeError), and under 0.x a breaking change bumps the minor. 0.2.0 also matches the dotpromptz-handlebars>=0.2.0 floor dotpromptz now requires.

  • Manifest catches up to PyPI: .release-please-manifest.json moves both Python entries to 0.2.0. It still said dotpromptz 0.1.6 and handlebars 0.1.9, so a revived release-please would have proposed the wrong versions.

  • Dropped release-as: 0.2.0: it was only there to bootstrap this release. Left in, it pins every future handlebars release PR to 0.2.0.

  • Handlebars changelog compares from 0.1.10: 0.1.10 shipped to PyPI from a branch, so the 0.2.0 diff link starts there rather than 0.1.9.

  • Publish with twine 7: hatchling 1.32 writes Metadata-Version: 2.5, and pypa/gh-action-pypi-publish v1.13 bundles twine 6, which rejects it (InvalidDistribution: '2.5' is not a valid metadata version). Both publish workflows move to v1.14.2 (twine 7). Same fix as the unmerged fix(ci): publish dotpromptz with a client that accepts metadata 2.5 #619, which was a workaround for 0.1.6.

Release (already done from this branch)

  1. dotpromptz-handlebars-0.2.0: the release-triggered run failed on twine 6, so it was re-published via workflow_dispatch from this branch. Published, and the smoke test passed on Python 3.10–3.14.
  2. dotpromptz-0.2.0: tagged at 86dfd00, so the release-triggered run uses the twine 7 workflow.

Verified locally

  • 836 tests pass.
  • Built both wheels (py3-none-any) and installed them into a clean 3.12 venv.
  • Dotprompt().render('Hello {{name}}!') returns Hello World!.
  • The legacy import paths still resolve: dotpromptz.dotprompt and dotpromptz.typing (genkit 0.12.0), handlebarrz (dotpromptz 0.1.x).

@huangjeff5
huangjeff5 had a problem deploying to pypi_github_publishing October 5, 2026 21:22 — with GitHub Actions Failure
hatchling 1.32 writes Metadata-Version 2.5. pypi-publish v1.13 bundles twine 6,
which rejects it with InvalidDistribution. v1.14.2 bundles twine 7.
@huangjeff5
huangjeff5 deployed to pypi_github_publishing October 5, 2026 21:48 — with GitHub Actions Active
@github-actions github-actions Bot added documentation Improvements or additions to documentation python config dotpromptz chore root labels Oct 5, 2026
@huangjeff5
huangjeff5 deployed to pypi_github_publishing October 5, 2026 21:58 — with GitHub Actions Active
@huangjeff5
huangjeff5 requested a review from pavelgj October 5, 2026 22:28

This branch was successfully deployed

1 active deployment
pypi_github_publishing — 86dfd003 Deployed Oct 5, 2026 by huangjeff5 via Upload to PyPI #46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore config documentation Improvements or additions to documentation dotpromptz python root

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant