From a3de7d05ebacdac9726cc670f3ea6957d2502531 Mon Sep 17 00:00:00 2001 From: Collier King Date: Sat, 19 Sep 2026 10:35:29 -0500 Subject: [PATCH] Bump pypi-publish action to v1.14.2 The publish job fails with "InvalidDistribution: Invalid distribution metadata: '2.5' is not a valid metadata version". Current hatchling emits Metadata-Version 2.5, and the pinned v1.12.4 bundles a twine too old to parse it. v1.14.2 bundles twine 7.0.0, which handles it. Unrelated to the 0.4.0 changes: building pre-merge main, with its static version, produces Metadata-Version 2.5 as well. --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 508d7ec..22d6910 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -95,7 +95,8 @@ jobs: path: dist/ - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc + # v1.14.2 - bundles twine 7.0.0, which understands Metadata-Version 2.5 + uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 with: packages-dir: dist/ verbose: true