File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,11 +122,16 @@ jobs:
122122 name : dist
123123 path : dist/
124124 - name : Publish
125- # Pinned to the COMMIT sha (not the annotated-tag object sha). This is a
126- # Docker action; GitHub pulls ghcr.io/pypa/gh-action-pypi-publish:<ref>,
127- # and pypa publishes that image tagged by commit sha — the tag-object sha
128- # has no image (manifest unknown).
129- uses : pypa/gh-action-pypi-publish@15c56dba361d8335944d31a2ecd17d700fc7bcbc # v1.12.2
125+ # v1.12.4 bundles twine 6.1.0, which understands Metadata-Version 2.4
126+ # (what current setuptools / `uv build` emit). v1.12.2 shipped twine
127+ # 5.1.1, which rejects 2.4 with "Metadata is missing required fields:
128+ # Name, Version".
129+ #
130+ # Pinned to the COMMIT sha (not the annotated-tag object sha): this is a
131+ # Docker action and GitHub pulls ghcr.io/pypa/gh-action-pypi-publish:<ref>;
132+ # pypa publishes that image keyed by commit sha, so the tag-object sha has
133+ # no image (manifest unknown).
134+ uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
130135 # No `password:` — OIDC handles auth automatically.
131136
132137 # ----------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments