-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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
Make Python release process more robust #127602
Comments
Well, the 3.12.5 source tarball issue was, if I recall correctly, a transient one because of maintenance on the download server or Fastly configuration. It wasn't caused by, nor could it be solved by, the release automation. The three GPG-related issues are solved by PEP 761 (Deprecating PGP signatures for CPython artifacts). There's certainly ongoing work to improve the release automation as we encounter issues like these (that work is done over in https://github.com/python/release-tools/) but most of the issues we run into now are not visible to the user. For the kinds of issues you mention, I think we've done all we can do at the moment. |
@Yhg1s Hi! Thank you for the reply, however, I feel this issue has been closed a bit prematurely. I phrased the issue as "release process" in the title, since the issue was intended to cover both the automation and playbooks (as mentioned in the description). Even if there is not much that can be done via the automation, could the playbooks at least be updated to reduce the chance of issues in the meantime? I realise GPG signatures will be going away in Python 3.14+ (hence mentioning PEP-761 in the OP). However, GPG signatures are still supported for for Python 3.13 and older (and 3.13 won't be EOL until October 2029), so it would be helpful if we could reduce the regressions in the meantime. |
I'm not sure yet what happened with the 3.10 signatures this time, but yes, we are continuously improving the release automation.
Indeed, 3.14 alphas already don't have GPG signatures, and 3.9-3.13 are not dropping them either. However, the full set of 3.9-3.14 do have Sigstore signatures (and have done since October 2022), so I recommend switching over to Sigstore verification for all releases. |
Yeah it's definitely on the list :-) Though I am expecting it will require some trial and error given using sigstore is not yet the norm. For example, the python.org docs only cover GPG and not sigstore at the moment (is there an issue filed for this?) on: (My starting point was going to be the suggestions in https://discuss.python.org/t/pep-761-deprecating-pgp-signatures-for-cpython-artifacts/67180/30) |
🎉
If you go to a release page (for example, https://www.python.org/downloads/release/python-3131/) and click "Sigstore" in the table header, it'll take you to a Sigstore guide at https://www.python.org/downloads/metadata/sigstore/ But good point, there's nothing at https://www.python.org/downloads/ so let's add it. I've opened python/pythondotorg#2671. |
Ah thank you - I'd not seen https://www.python.org/downloads/metadata/sigstore/ before. Thank you for filing an issue to improve discovery of it :-) |
Bug report
Bug description:
We've encountered a number of issues with the published Python assets (either the source archives or GPG signatures) recently:
Is there any way the automation (or else any manual playbooks shorter term) could be improved to prevent these from occurring?
(I realise GPG signatures will likely be removed starting Python 3.14 due to PEP-761, but they are supported for now)
CPython versions tested on:
3.9, 3.10, 3.11, 3.12, 3.13, 3.14, CPython main branch
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: