-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Description
Hello,
I am trying to upload execnet-2.1.1.tar.gz to our internal GitLab pypi mirror and am facing an issue with the current distribution when uploading with twine:
ERROR InvalidDistribution: Invalid distribution metadata: license-expression
introduced in metadata version 2.4, not 2.3
Failed uploading ./package-index/execnet/execnet-2.1.1.tar.gz
As far as I understand the issue, your toml license line should be:
license = {file = "LICENSE"}
OR
license = {file = "LICENSE"}
OR update the release tools so the metadata is 2.4.
The same happened in the iniconfig package: pytest-dev/iniconfig#62
It was fixed by bumping hatchling: https://github.com/pytest-dev/iniconfig/pull/63/files
Metadata
Metadata
Assignees
Labels
No labels