Open jaraco opened 2 months ago
Relevant is this comment about supporting pkg_info>=1.11
, which seems to address this issue.
Twine is pinned against pkg_info 1.11, so is hard-blocked against supporting this new metadata version. https://github.com/pypa/twine/pull/1123 proposes to unblock it, but that PR has languished.
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?
How did you install twine? Did you use your operating system's package manager or pip or something else?
What version of twine do you have installed (include the complete output)
Which package repository are you using?
pypi.org
Please describe the issue that you are experiencing
This issue is a reprise of https://github.com/pypa/twine/issues/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