You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
macOS 10.16 doesn't exist, it's a compatibility shim that Apple put into the OS so that old software wouldn't get freaked out by the minor version going back to zero - macOS had been on version 10 for so long, apparently some software thought it would last forever and didn't bother checking it.
Newer builds of Python don't seem to have this issue, it only appears to be an issue on older builds.
This problem was noticed a few months back as it was affecting wheel builds, and was fixed in packaging. But that hasn't made its way into pip yet, which is still on packaging 21.3.
Expected behavior
The wheel should be installed, because the system is compatible.
Description
On macOS 11.0+, pip on Python 3.8 (and perhaps some other versions too) won't install wheels tagged with
macosx_11_0
or newer.A cibuildwheel user noticed this issue when building a wheel on macos-12 that wouldn't install on the Python that built it - the wheel was built targeting macosx_12_0, but pip gave the error:
ERROR: python_box-7.0.1-cp38-cp38-macosx_12_0_x86_64.whl is not a supported wheel on this platform
Running
pip debug --verbose
on these systems gives us the mythicalmacosx_10_16
version number as the maximum that pip will install, e.g.https://gist.github.com/cdgriffith/44c5ea248b2272787a5e27a6f6047740#file-mac_build-log-L922-L934
macOS 10.16 doesn't exist, it's a compatibility shim that Apple put into the OS so that old software wouldn't get freaked out by the minor version going back to zero - macOS had been on version 10 for so long, apparently some software thought it would last forever and didn't bother checking it.
Newer builds of Python don't seem to have this issue, it only appears to be an issue on older builds.
This problem was noticed a few months back as it was affecting wheel builds, and was fixed in packaging. But that hasn't made its way into pip yet, which is still on packaging 21.3.
Expected behavior
The wheel should be installed, because the system is compatible.
pip version
23.0
Python version
3.8.10
OS
macOS 11.0+
How to Reproduce
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3 -m pip debug --verbose
10_16
.Output
Code of Conduct
The text was updated successfully, but these errors were encountered: