Skip to content

Invalid distribution metadata #61

@aoguntayo

Description

@aoguntayo

When attempting to build userpath==1.9.2 I get the below error.

The metadata version is invalid for the sdist.

can a new sdist be created with the correct version?

Uploading distributions to 
https://gitlab.com/api/v4/projects/75721485/packages/pypi/
ERROR    InvalidDistribution: Invalid distribution metadata: license-expression 
         introduced in metadata version 2.4, not 2.1                            
16:50:52 ERROR userpath-1.9.2: Command '['twine', 'upload', '--verbose', '--non-interactive', '--disable-progress-bar', '--repository', 'gitlab-cpu-ubi9-wheels', '--config-file', '/tmp/.pypirc', '/mnt/sdists-repo/builds/userpath-1.9.2.tar.gz']' returned non-zero exit status 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions