This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ERROR: PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl is not a supported wheel on this platform
Type: Stage: resolved
Components: Installation Versions: Python 3.6
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, eric.smith, joefh
Priority: normal Keywords:

Created on 2021-11-05 19:09 by joefh, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (5)
msg405821 - (view) Author: Joef Huang (joefh) Date: 2021-11-05 19:09
We have been using this command to install Python to our container:
RUN pip3 install -U pip && \
    pip install wheel && \
    pip wheel -w /tmp/wheels 

It started failing today with the following error:

ERROR: PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl is not a supported wheel on this platform.

It turned out the install now downloads the cp39 wheel: 

12:46:14  Collecting pyyaml>=3.12
12:46:14    Downloading PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (661 kB)


When this worked a couple of days ago, the install downloaded a different wheel:

15:03:12  Collecting pyyaml>=3.12
15:03:12    Downloading PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (603 kB)


Why does the python install download the cp39 wheel now?
msg405824 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2021-11-05 19:49
This is the wrong place to report bugs with third party packages or wheels. The Python bug tracker is only for core development. Please use one of the community channels to get assistance, https://www.python.org/community/
msg405828 - (view) Author: Joef Huang (joefh) Date: 2021-11-05 20:22
Thanks Christian. But why the python installer suddenly started using cp39 of the yaml wheel? It used to be using cp36 of the wheel which was working fine. Trying to gather more information so that I can talk to the 3rd party about this.
msg405830 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2021-11-05 22:26
This is really a question for pip, which is a third party product (despite a version of it shipping with core python). You can find their issue tracker at https://pip.pypa.io/en/stable/

When reporting the bug there, you'll need to provide information about which python you're using, how you installed it, and which version of pip you're using. And probably also the verbose output from pip.
msg405835 - (view) Author: Joef Huang (joefh) Date: 2021-11-06 00:16
Thanks Eric. I created an issue in the pip repo.
History
Date User Action Args
2022-04-11 14:59:52adminsetgithub: 89893
2021-11-06 00:16:17joefhsetmessages: + msg405835
2021-11-05 22:26:11eric.smithsetnosy: + eric.smith
messages: + msg405830
2021-11-05 20:22:08joefhsetmessages: + msg405828
2021-11-05 19:49:05christian.heimessetstatus: open -> closed

nosy: + christian.heimes
messages: + msg405824

resolution: third party
stage: resolved
2021-11-05 19:09:52joefhcreate