Skip to content

Disable PEP 740 attestations until publisher config moved to release.yml - #11

Merged
dwoz merged 1 commit into
mainfrom
disable-pypi-attestations
Nov 21, 2026
Merged

dwoz merged 1 commit into
mainfrom
disable-pypi-attestations

Conversation

@dwoz

@dwoz dwoz commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Summary

The release workflow deploy step 400'd with Invalid attestations supplied during upload: Could not verify the uploaded artifact using the included attestation: Verification failed: Certificate's Build Config URI (.../release.yml) does not match. Reusable-workflow footgun documented at https://docs.pypi.org/trusted-publishers/troubleshooting/#reusable-workflows-on-github — the sigstore attestation cert names the entry-point workflow (release.yml), but PyPI's trusted-publisher configs for ppbt (and the pending ones for ppbt-cross-*) name deploy-package-action.yml.

Disabling PEP 740 attestations here lets the OIDC-authenticated upload proceed. Follow-up: repoint all three publisher configs on pypi.org to release.yml, then re-enable attestations.

Previous failing run: https://github.com/saltstack/ppbt/actions/runs/44880270521

Test plan

  • Re-dispatch release.yml with kind=release after merge.
  • Verify all 3 projects publish (base ppbt, both cross packages).
  • Verify pending-publisher entries resolve on first upload.

PyPI trusted-publisher configs name this file
(`deploy-package-action.yml`) but the sigstore attestation cert
names `release.yml` (the reusable-workflow entry point), so PyPI
400s on every upload.  Disable attestations for now; we can re-enable
once the publisher configs are moved to `release.yml`.
@dwoz
dwoz merged commit fa5a39c into main Nov 21, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant