Skip to content

Failed to publish to PyPI: InvalidDistribution: Metadata is missing required fields: Name, Version #5

@zhuchcn

Description

@zhuchcn

I got this error when a new release was made on moPepGen.

https://github.com/uclahs-cds/package-moPepGen/actions/runs/15168004756/job/42650781778#step:4:37

Checking dist/mopepgen-1.4.6-py3-none-any.whl: ERROR    InvalidDistribution: Metadata is missing required fields: Name,        
         Version.                                                               
         Make sure the distribution includes the files where those fields are   
         specified, and is using a supported Metadata-Version: 1.0, 1.1, 1.2,   
         2.0, 2.1, 2.2, 2.3.    

I do have name and version in metadata. Do the keys need to be capitalized now?

https://github.com/uclahs-cds/package-moPepGen/blob/ab02bd80deafe07e13fc66a0883ef770878c70ac/setup.cfg#L1-L16

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions