chore(release): release Python packages (dotpromptz 0.2.0, dotpromptz-handlebars 0.2.0) - #633
Open
huangjeff5 wants to merge 2 commits into
Open
huangjeff5 wants to merge 2 commits into
huangjeff5 wants to merge 2 commits into
Conversation
…-handlebars 0.2.0)
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.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_TOKENis 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}}raisesTypeError), and under 0.x a breaking change bumps the minor. 0.2.0 also matches thedotpromptz-handlebars>=0.2.0floor dotpromptz now requires.Manifest catches up to PyPI:
.release-please-manifest.jsonmoves 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, andpypa/gh-action-pypi-publishv1.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)
dotpromptz-handlebars-0.2.0: the release-triggered run failed on twine 6, so it was re-published viaworkflow_dispatchfrom this branch. Published, and the smoke test passed on Python 3.10–3.14.dotpromptz-0.2.0: tagged at86dfd00, so the release-triggered run uses the twine 7 workflow.Verified locally
py3-none-any) and installed them into a clean 3.12 venv.Dotprompt().render('Hello {{name}}!')returnsHello World!.dotpromptz.dotpromptanddotpromptz.typing(genkit 0.12.0),handlebarrz(dotpromptz 0.1.x).