Commit 7d8a771
authored
ci: exclude attestation sidecars from the PyPI artifact-identity assert (#124)
gh-action-pypi-publish v1.14+ writes <dist>.publish.attestation sidecar
files into packages-dir before uploading. The post-publish assert builds
its expected set from dist/ contents, and PyPI serves attestations via
the integrity API rather than as distribution files, so the sidecars can
never appear in the JSON API's urls[] -- the assert now fails on every
release even when the publish is complete and attested. Observed on the
v0.10.1 run (32177134404): both distributions matched by sha256 and both
files have provenance bundles on the integrity API, but the two sidecar
names failed the set comparison twice (initial run and skip-existing
re-run).
Filter *.publish.attestation from the local set; the distribution
set-equality check (including the planted-extra-wheel direction) is
unchanged.
🤖 Generated with Claude Code
Co-Authored-By: [Claude](mailto:noreply@anthropic.com)1 parent 3b130ee commit 7d8a771
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
451 | 460 | | |
452 | 461 | | |
453 | 462 | | |
| |||
0 commit comments