Skip to content

Support Core Metadata 2.5 (PEP 794) #1321

Description

@jobselko

Packages built with Core Metadata 2.5 (PEP 794) fail to upload with:

HTTP 400: "2.5" is not a valid choice for metadata_version

PyPI already accepts 2.5, but the two new fields it introduces (Import-Name, Import-Namespace) are accepted during upload but not stored. Minimal change for now is to add 2.5 to SUPPORTED_METADATA_VERSIONS.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions