Skip to content

Commit ccec6e3

Browse files
committed
fix(release): bump pypa/gh-action-pypi-publish to v1.14.0
v1.11.0 ships an older twine that only understands Metadata-Version up to 2.3. Modern hatchling produces wheels with Metadata-Version 2.4, so twine's pre-upload check fails with "InvalidDistribution: Metadata is missing required fields: Name, Version" even though both fields are present (twine just can't parse the newer metadata format). Verified live: tag v0.1.4.dev0 reached the publish step and failed at this check (run 25898978723). Bumping to v1.14.0 brings a recent twine that handles 2.4 metadata.
1 parent 2f9869d commit ccec6e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: python -m build
4848

4949
- name: Publish to PyPI
50-
uses: pypa/gh-action-pypi-publish@fb13cb306901256ace3dab689990e13a5550ffaa # release/v1.11.0
50+
uses: pypa/gh-action-pypi-publish@6733eb7d741f0b11ec6a39b58540dab7590f9b7d # release/v1.14.0
5151

5252
- name: Create GitHub Release
5353
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0

0 commit comments

Comments
 (0)