-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
How to set metadata version #1856
Comments
https://hatch.pypa.io/latest/plugins/builder/wheel/#options What do you mean by not working, exactly? |
I am not a topicstarter, but probably I have same issue. My project is SQL grep and you can see full pyproject.toml in repo. In When I do:
(same Metadata-Version: 2.3 both for .whl and .tar.gz packages) Publishing such files to pypi do not work:
Seems pypi do not like combination of My installed hatch* packages are:
Hatchling 1.27.0 should support metadata 2.4, but it makes metadata 2.3 |
Try upgrading the required version of Hatchling in the build system table. It's probably using a cached version. |
Cannot tell for topicstarted, but thank you for your advice, it's working for me now! :-) |
https://github.com/pypa/hatch/releases/tag/hatchling-v1.27.0 updated the default version of core metadata to version 2.4
Reading through the hatch documentation I'm not seeing a way to set the version to another value. Unfortunately core metadata version 2.4 is not working with twine and artifacts are unable to be published.
pypa/twine#1178
The text was updated successfully, but these errors were encountered: