Skip to content

Digital attestations requirement blocking PyPi publishing #1344

Description

@jpl-jengelke

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions