Closed
Description
I'm trying to upload a distrubtion of a package to pypy using python3 -m twine upload dist/.16
I get an error saying
"
InvalidDistribution: Metadata is missing required fields: Name, Version.
"
If I unpack the whl file and look at the METADATA file I notice that an exact older version which uploaded correctly had the line
Metadata-Version: 2.1
When I currently try to build the package it won't upload (and also fails a twine check). When I look at the METADATA from the newer version is says
Metadata-Version: 2.3
If I simply change 2.3 to 2.1 I can rezip the whl package and it now passes the twine check and everything is fine.
How can I fix this?