Skip to content

Sort wheel files such that the build number is used only as a tie-breaker #9565

@brettcannon

Description

@brettcannon

pip version

21.0.1

Python version

N/A

OS

N/A

Additional information

No response

Description

Pip currently sorts a wheel's build number higher than the other tags in a wheel.

Expected behavior

The build number should be used to break ties between wheel files when all other details are equal (i.e. name, version, and other tags). See the update to PEP 427 for more details.

How to Reproduce

No response

Output

No response

Code of Conduct

  • I agree to follow the PSF Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    state: awaiting PRFeature discussed, PR is neededtype: bugA confirmed bug or unintended behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions