Skip to content

iniconfig-2.0.0-py3-none-any.whl has invalid distribution metadata #62

@tiran

Description

@tiran

The latest version of Twine no longer accepts the latest release of iniconfig because there is a problem with the package's metadata. The wheel release uses packaging metadata 2.1 with a new field from metadata version 2.4. Previous versions of Twine accepted this combination. The current version fails:

$ twine check iniconfig-2.0.0-py3-none-any.whl 
Checking iniconfig-2.0.0-py3-none-any.whl: ERROR    InvalidDistribution: Invalid distribution metadata: license-expression introduced in metadata version 2.4, not 2.1
$ twine --version
twine version 6.1.0 (keyring: 25.6.0, packaging: 24.2, requests: 2.32.3, requests-toolbelt: 1.0.0, urllib3: 2.3.0, id: 1.5.0)

Would you be so kind and upload a new release of iniconfig?

Background: We use an private GitLab's package index as a PyPI mirror for our projects. Our mirror scripts is dead simple. It's pip download + twine upload.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions