The following error blocks PyPi from accepting release uploads:
Uploading distributions to https://upload.pypi.org/legacy/
ERROR InvalidDistribution: Upload with attestations requested, but
dist/exotic-4.2.3.zip has no associated attestations
It appears that the attestation file for the ZIP archive is not being created.
Solution 1:
with:
attestations: false
Solution 2:
Generate attestations for that file.
Probably solution (2) is preferable since it preserves PyPi PEP 740 supported publishing.
Why did this happen?
The attestations feature is now enabled by default, and PyPi Warehouse is now enforcing it.
The following error blocks PyPi from accepting release uploads:
It appears that the attestation file for the
ZIParchive is not being created.Solution 1:
Solution 2:
Generate attestations for that file.
Probably solution (2) is preferable since it preserves PyPi PEP 740 supported publishing.
Why did this happen?
The attestations feature is now enabled by default, and PyPi Warehouse is now enforcing it.