-
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
Check command doesn't recognize metadata 2.3 #1059
Comments
This isn't working as we rely on I'll see if I can get that added |
pkginfo release is out which appears to have support |
@konstin a re-install will fix this for you as it should grab the new |
Thanks, confirmed that this works. |
Does this still not mention 2.3 in the error message, even though 2.3 is now supported? |
I'm not sure what you're asking but if it's about the error posted above, that's generated by us from pkginfo https://github.com/pypa/twine/blob/main/twine%2Fpackage.py#L116-L123 supported_metadata = list(pkginfo.distribution.HEADER_ATTRS)
raise exceptions.InvalidDistribution(
"Metadata is missing required fields: "
f"{', '.join(missing_fields)}.\n"
"Make sure the distribution includes the files where those fields "
"are specified, and is using a supported Metadata-Version: "
f"{', '.join(supported_metadata)}."
) |
Ahh, perfect, the bug was that pkginfo wasn’t updated. |
This comment has been minimized.
This comment has been minimized.
Issue: pypa/twine#1059 Upgrade GH action to support Metadata-Version: 2.3: https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.8.13
Issue: pypa/twine#1059 Upgrade GH action to support Metadata-Version: 2.3: https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.8.13
Issue: pypa/twine#1059 Upgrade GH action to support Metadata-Version: 2.3: https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.8.13
Issue: pypa/twine#1059 Upgrade GH action to support Metadata-Version: 2.3: https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.8.13
Issue: pypa/twine#1059 Upgrade GH action to support Metadata-Version: 2.3: https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.8.13
Issue: pypa/twine#1059 Upgrade GH action to support Metadata-Version: 2.3: https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.8.13
Is there an existing issue for this?
What keywords did you use to search existing issues?
2.3
Metadata
Please describe why your using this option
Pypi now supports uploading wheels with metadata 2.3 (pypi/warehouse#13606). I've added support for this in maturin (PyO3/maturin#1965) and successfully uploaded the wheel (METADATA in the pypi inspector), but
twine check
doesn't recognize metadata 2.3 yet:Anything else you'd like to mention?
No response
The text was updated successfully, but these errors were encountered: