-
Notifications
You must be signed in to change notification settings - Fork 309
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
Twine fails to upload packages with latest metadata-version #1146
Labels
Comments
Relevant is this comment about supporting |
Twine is pinned against pkg_info 1.11, so is hard-blocked against supporting this new metadata version. #1123 proposes to unblock it, but that PR has languished. |
jaraco
added a commit
to coherent-oss/coherent.build
that referenced
this issue
Sep 6, 2024
This reverts commit 8bacee1. Ref pypa/twine#1146
grydz
added a commit
to Cosmian/intel-sgx-ra
that referenced
this issue
Nov 29, 2024
maturin 1.7.6 adds Metadata-Version: 2.4 which breaks twine upload due to pinned package pkginfo<1.11 See https://www.maturin.rs/changelog#176 and pypa/twine#1146
this can be closed, twine v6.0.0 was released which includes #1123 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
What keywords did you use to search existing issues?
metadata-version
InvalidDistribution
What operating system are you using?
macOS
If you selected 'Other', describe your Operating System here
No response
What version of Python are you running?
Python 3.12.5
How did you install twine? Did you use your operating system's package manager or pip or something else?
pipx reinstall --python 3.12 twine
What version of twine do you have installed (include the complete output)
5.1.1
Which package repository are you using?
pypi.org
Please describe the issue that you are experiencing
This issue is a reprise of #1059. Now that PEP 639 is provisionally accepted, the coherent system has implemented support, and subsequently packages built under that system fail with the error:
The error message "missing required fields" appears to be incorrect. The fields are there.
According to the spec tools should warn (but presumably not error) if the version is a minor increment higher than the highest supported.
Please list the steps required to reproduce this behaviour
git clone https://github.com/coherent-oss/coherent.deps; cd coherent.deps
pipx run coherent.cli build
pipx run twine upload dist/*
Anything else you'd like to mention?
No response
The text was updated successfully, but these errors were encountered: