From f4de79e0f608cbaa44a71cd022ff226d7d4e02e4 Mon Sep 17 00:00:00 2001 From: Daniel Holth Date: Sun, 2 Jun 2019 19:23:50 -0400 Subject: [PATCH 1/2] add 'local' as highest precedence architecture for wheel --- src/pip/_internal/pep425tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pip/_internal/pep425tags.py b/src/pip/_internal/pep425tags.py index 07dc148eec3..002c237b857 100644 --- a/src/pip/_internal/pep425tags.py +++ b/src/pip/_internal/pep425tags.py @@ -342,7 +342,7 @@ def get_supported( # https://www.python.org/dev/peps/pep-0571/#backwards-compatibility-with-manylinux1-wheels arches = [arch, 'manylinux1' + arch_sep + arch_suffix] elif platform is None: - arches = [] + arches = ['local'] if is_manylinux2010_compatible(): arches.append('manylinux2010' + arch_sep + arch_suffix) if is_manylinux1_compatible(): From 8e0ef6ea489cba764e45d240b50f2b51b1de0a47 Mon Sep 17 00:00:00 2001 From: Daniel Holth Date: Sun, 2 Jun 2019 19:35:36 -0400 Subject: [PATCH 2/2] add news entry --- news/6523.feature | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 news/6523.feature diff --git a/news/6523.feature b/news/6523.feature new file mode 100644 index 00000000000..4195487994b --- /dev/null +++ b/news/6523.feature @@ -0,0 +1,2 @@ +Add 'local' as highest precedence arch tag for Linux wheels, to override +manylinux1 when needed. \ No newline at end of file