From 3fc70979dafbbede567002aed444de726c7517d3 Mon Sep 17 00:00:00 2001 From: Jeff Huang Date: Mon, 5 Oct 2026 14:17:33 -0500 Subject: [PATCH 1/2] chore(release): release Python packages (dotpromptz 0.2.0, dotpromptz-handlebars 0.2.0) --- .release-please-config.json | 1 - .release-please-manifest.json | 4 ++-- python/dotpromptz/CHANGELOG.md | 2 +- python/dotpromptz/pyproject.toml | 2 +- python/dotpromptz/tests/smoke/pyproject.toml | 2 +- python/handlebars/CHANGELOG.md | 2 +- python/uv.lock | 2 +- 7 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.release-please-config.json b/.release-please-config.json index dd0aee86d..2ab8f7299 100644 --- a/.release-please-config.json +++ b/.release-please-config.json @@ -36,7 +36,6 @@ "release-type": "python", "package-name": "dotpromptz-handlebars", "component": "dotpromptz-handlebars", - "release-as": "0.2.0", "extra-files": [ { "type": "toml", diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 1926c0120..500d74153 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,7 +1,7 @@ { "js": "0.2.9", - "python/dotpromptz": "0.1.6", - "python/handlebars": "0.1.9", + "python/dotpromptz": "0.2.0", + "python/handlebars": "0.2.0", "go": "0.2.1", "java": "0.1.0", "dart/dotprompt": "0.0.1", diff --git a/python/dotpromptz/CHANGELOG.md b/python/dotpromptz/CHANGELOG.md index f7e045ef9..9e41acf49 100644 --- a/python/dotpromptz/CHANGELOG.md +++ b/python/dotpromptz/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [Unreleased] +## [0.2.0](https://github.com/google/dotprompt/compare/dotpromptz-0.1.6...dotpromptz-0.2.0) (2026-10-05) ### ⚠ BREAKING CHANGES diff --git a/python/dotpromptz/pyproject.toml b/python/dotpromptz/pyproject.toml index 12a4f70b6..b98569410 100644 --- a/python/dotpromptz/pyproject.toml +++ b/python/dotpromptz/pyproject.toml @@ -50,7 +50,7 @@ license = "Apache-2.0" name = "dotpromptz" readme = "README.md" requires-python = ">=3.10" -version = "0.1.6" +version = "0.2.0" [build-system] build-backend = "hatchling.build" diff --git a/python/dotpromptz/tests/smoke/pyproject.toml b/python/dotpromptz/tests/smoke/pyproject.toml index 5eceb9b7b..84a78c549 100644 --- a/python/dotpromptz/tests/smoke/pyproject.toml +++ b/python/dotpromptz/tests/smoke/pyproject.toml @@ -41,7 +41,7 @@ license = "Apache-2.0" name = "smoke" readme = "README.md" requires-python = ">=3.10" -version = "0.1.6" +version = "0.2.0" [tool.pytest] python_files = ["**/*_test.py"] diff --git a/python/handlebars/CHANGELOG.md b/python/handlebars/CHANGELOG.md index e89675b11..216dae57f 100644 --- a/python/handlebars/CHANGELOG.md +++ b/python/handlebars/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [0.2.0](https://github.com/google/dotprompt/compare/dotpromptz-handlebars-0.1.9...dotpromptz-handlebars-0.2.0) (unreleased) +## [0.2.0](https://github.com/google/dotprompt/compare/dotpromptz-handlebars-0.1.10...dotpromptz-handlebars-0.2.0) (2026-10-05) ### ⚠ BREAKING CHANGES diff --git a/python/uv.lock b/python/uv.lock index 7cb4d9ea3..7e7c0f150 100644 --- a/python/uv.lock +++ b/python/uv.lock @@ -877,7 +877,7 @@ lint = [{ name = "ruff", specifier = ">=0.9.2" }] [[package]] name = "dotpromptz" -version = "0.1.6" +version = "0.2.0" source = { editable = "dotpromptz" } dependencies = [ { name = "aiofiles" }, From 86dfd0036f3b7f4d5590b23a4e5e58d5983a4a87 Mon Sep 17 00:00:00 2001 From: Jeff Huang Date: Mon, 5 Oct 2026 16:42:49 -0500 Subject: [PATCH 2/2] fix(ci): publish Python packages with twine 7 for metadata 2.5 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. --- .github/workflows/publish_python_dotpromptz_package.yml | 2 +- .github/workflows/publish_python_handlebarrz_package.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_python_dotpromptz_package.yml b/.github/workflows/publish_python_dotpromptz_package.yml index c3123522f..386f076a6 100644 --- a/.github/workflows/publish_python_dotpromptz_package.yml +++ b/.github/workflows/publish_python_dotpromptz_package.yml @@ -158,7 +158,7 @@ jobs: path: dist/ - name: Publish Distribution to PyPI - uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1.13 + uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2 with: verbose: true packages-dir: dist/ diff --git a/.github/workflows/publish_python_handlebarrz_package.yml b/.github/workflows/publish_python_handlebarrz_package.yml index 461a1f9f6..e8015c12f 100644 --- a/.github/workflows/publish_python_handlebarrz_package.yml +++ b/.github/workflows/publish_python_handlebarrz_package.yml @@ -111,7 +111,7 @@ jobs: path: dist/ - name: Publish distribution to PyPI - uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1.13 + uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2 with: verbose: true packages-dir: dist/