Repository navigation
Commit d853683
committed
feat: releases ship with PEP 740 attestations
uv publish uploads attestations it is given but does not create them, so no
release in the org had provenance on PyPI, although the publish job already
holds the OIDC token Sigstore signs with.
The publish job now runs pypi-attestations sign over the built wheel and
sdist before uploading. It writes <file>.publish.attestation next to each,
and uv publish, with its default dist/* file set, sends them along. PyPI
verifies each attestation against the Trusted Publisher and rejects the
upload if one does not match, so a broken signature fails the release
instead of shipping without provenance.
Closes #131 parent 8ebf45d commit d853683
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
74 | 81 | | |
0 commit comments