-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Digital attestations requirement blocking PyPi publishing #1344
Comments
@rzellem @tamimfatahi This is why our release is not published on PyPi quite yet. |
You could also split your dists and upload via separate action invocations. |
Looking into this now -- it's strange that both dists appear to be present, but only the I'll continue to root-cause this. |
Figured it out: the current attestation helper in this action collects distributions like so: Notably, it collects |
PyPI doesn't fully support PEP 625 yet: pypi/warehouse#12245
|
@jpl-jengelke Somewhat unrelated, but I'm curious why are you choosing to publish a |
Good question -- Explained here. In a cross-platform product geared to a broad target audience that may include beginning users, it behooves us to be extremely user friendly. |
That doesn't really demonstrate any real limitations, though... |
Yay! This is working... Thanks everyone for all the efforts! |
I understand the sentiment. But this was a PEP that did not need to be done IMHO. (It changes the long-standing precedent of the PEP 517 spec on Source Distribution to be non-backward compatible and generally makes something harder to do.) Imagine a user base of non-developers, perhaps even those who rarely use Windows machines but have to use them to run certain software. No matter what, it's an extra step just to peer at the packed source. Now imagine the docs on how to install and run the application are also packed there in a single location. |
As I said in the linked issue — having Python means having means to untar. Plus, the end-users should really install from wheels which are zip archives, not build from source, if you care about simplicity. |
The following error blocks PyPi from accepting release uploads:
It appears that the attestation file for the
ZIP
archive 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.
The text was updated successfully, but these errors were encountered: