Description of problem: pip on Fedora 33 cannot handle Python 3.10 manylinux wheels and prefers installation from source. Version-Release number of selected component (if applicable): 20.2.2-2.fc33 How reproducible: Easy, always. Steps to Reproduce: $ python3.10 -m venv __venv__ $ . __venv__/bin/activate (__venv__) $ pip install pyzmq Actual results: Collecting pyzmq Using cached pyzmq-22.2.1.tar.gz (1.2 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing wheel metadata ... done Building wheels for collected packages: pyzmq Building wheel for pyzmq (PEP 517) ... Expected results: Collecting pyzmq Using cached pyzmq-22.2.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB) Installing collected packages: pyzmq Successfully installed pyzmq-22.2.1 Additional info: Users can mitigate this by running `pip install -U pip`. Fedora 34 has a newer pip version that works. When attempting to install the wheel directly, the error is: ERROR: pyzmq-22.2.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl is not a supported wheel on this platform.
Backporting this https://github.com/pypa/packaging/pull/355 might help.
https://src.fedoraproject.org/rpms/python-pip/pull-request/92 Note that I've tested this: $ rpm -q python-pip-wheel python-pip-wheel-20.2.2-3.fc33.noarch $ python3.10 -m venv __venv__ $ . __venv__/bin/activate (__venv__) $ pip install pyzmq Collecting pyzmq Using cached pyzmq-22.2.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB) Installing collected packages: pyzmq Successfully installed pyzmq-22.2.1 WARNING: You are using pip version 20.2.2; however, version 21.2.4 is available. You should consider upgrading via the '/home/churchyard/tmp/__venv__/bin/python3.10 -m pip install --upgrade pip' command.
FEDORA-2021-182eec00ec has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-182eec00ec
FEDORA-2021-182eec00ec has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-182eec00ec` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-182eec00ec See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-182eec00ec has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.