Message385845
In macOS Big Sur, if the executable was compiled with MACOSX_DEPLOYMENT_TARGET=10.15
or below, then SYSTEM_VERSION_COMPAT=1 is the default which means that Big Sur
reports itself as 10.16 which in turn means that __builtin_available(macOS 11.0)
will not be triggered.
This can be observed by using the python 3.9.1 universal2 installer and using it on
x86_64 Big Sur or with Rossetta 2 on arm64 Big Sur. (Not an issue with native arm64
as that part is compiled with MACOSX_DEPLOYMENT_TARGET=11.0)
Original issue is that the following returned None.
SYSTEM_VERSION_COMPAT=1 arch -x86_64 /usr/local/bin/python3 -c "from ctypes.util import find_library; print(find_library('AppKit'))" |
|
Date |
User |
Action |
Args |
2021-01-28 06:39:56 | isuruf | set | recipients:
+ isuruf, ronaldoussoren, ned.deily |
2021-01-28 06:39:56 | isuruf | set | messageid: <1611815996.85.0.805200252907.issue43052@roundup.psfhosted.org> |
2021-01-28 06:39:56 | isuruf | link | issue43052 messages |
2021-01-28 06:39:56 | isuruf | create | |
|