New submission from Isuru Fernando <isu...@gmail.com>:
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'))" ---------- messages: 385845 nosy: isuruf, ned.deily, ronaldoussoren priority: normal pull_requests: 23185 severity: normal status: open title: _dyld_shared_cache_contains_path needs SYSTEM_VERSION_COMPAT=0 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43052> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com