Skip to content

Should manylinux1 comes before linux_* in precedence? #3844

@dholth

Description

@dholth

I was surprised to see 'manylinux1' come first in pip.pep425tags.get_supported(). Would this cause pip to prefer a pypi-hosted manylinux1 wheel over a locally built linux_x86_64 wheel? I would expect the
'linux_x86_64' wheel to count as "more specific to the current system" and needing to come first.

Propose switching the order of each pair of elements in this list from pip.pep425tags.get_supported():

[('cp35', 'cp35m', 'manylinux1_x86_64'),
 ('cp35', 'cp35m', 'linux_x86_64'),
 ('cp35', 'abi3', 'manylinux1_x86_64'),
 ('cp35', 'abi3', 'linux_x86_64'),
 ('cp35', 'none', 'manylinux1_x86_64'),
 ('cp35', 'none', 'linux_x86_64'),
 ('py3', 'none', 'manylinux1_x86_64'),
 ('py3', 'none', 'linux_x86_64'),

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: wheelThe wheel format and 'pip wheel' commandauto-lockedOutdated issues that have been locked by automationstate: needs discussionThis needs some more discussiontype: enhancementImprovements to functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions