-
-
Notifications
You must be signed in to change notification settings - Fork 467
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
InvalidDistribution: Metadata is missing required fields: Name, Version. #1446
Comments
I am experiencing the same issue. Hatch (starting from version 1.27) builds packages with the new In the PKG-INFO file, the metadata includes:
However, Rye uses If you update your
you should be able to build and publish the package successfully. |
That's an effective workaround. To recap, essentially, in my
As for I will leave this issue open for the |
I had the same problem, and this solution worked for me too. I believe this problem could be fixed by bumping the version of twine in |
Steps to Reproduce
I am unable to publish to PyPI. This was working fine for me with an older version of rye. For what it's worth, here is my
pyproject.toml
.Expected Result
Obviously I should be able to publish to PyPI.
Actual Result
I get the error:
I do have
name
andversion
defined in mypyproject.toml
(see Steps).Version Info
Stacktrace
No response
The text was updated successfully, but these errors were encountered: