docker / docker/docker-py

Invalid distribution metadata: license-expression introduced in metadata version 2.4, not 2.3

Open
#3,309 0 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7.2k
Forks
1.7k
Avg merge
13d 8h
Merged PRs (30d)
2

Description

When trying to upload the file docker-7.1.0-py3-none-any.whl with twine, I get the error message

InvalidDistribution: Invalid distribution metadata: license-expression introduced in metadata version 2.4, not 2.3

And sure enough, the METADATA file contains both
Metadata-Version: 2.3 and License-Expression: Apache-2.0

Would appreciate if the METADATA file was valid.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the upload validation for docker-7.1.0-py3-none-any.whl with twine, then inspect how its METADATA file is generated. Confirm that the declared Metadata-Version supports License-Expression and that the resulting wheel is accepted by the upload check.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.