Skip to content

Add support for metadata 2.2 #753

@FFY00

Description

@FFY00

Currently, twine will fail when a sdist uses metadata 2.2.

Checking dist/trampolim-0.0.1.tar.gz: InvalidDistribution: Invalid distribution metadata. Try upgrading twine if possible.

The error is fairly obscure, and the code too, from my quick look I wasn't able to find what is failing here, which I was expecting to be obvious. If I change the version number to 2.1 it works.

Here's the sdist I was trying to validate/upload.
trampolim-0.0.1.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions