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.

Author isuruf
Recipients isuruf, ned.deily, ronaldoussoren
Date 2021-01-28.06:39:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611815996.85.0.805200252907.issue43052@roundup.psfhosted.org>
In-reply-to
Content
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'))"
History
Date User Action Args
2021-01-28 06:39:56isurufsetrecipients: + isuruf, ronaldoussoren, ned.deily
2021-01-28 06:39:56isurufsetmessageid: <1611815996.85.0.805200252907.issue43052@roundup.psfhosted.org>
2021-01-28 06:39:56isuruflinkissue43052 messages
2021-01-28 06:39:56isurufcreate