Currently, for CoreFoundation and CoreText, we use a "hack" to find their library path because of a bug in the ctypes.util.find_library() function.
The bug has been resolved in those python version:
3.8.12 - https://docs.python.org/release/3.8.12/whatsnew/changelog.html#macos
3.9.7 - https://docs.python.org/release/3.9.7/whatsnew/changelog.html#macos
3.10.0 - https://docs.python.org/release/3.10.0/whatsnew/changelog.html#macos
3.11.0 alpha 1 - https://docs.python.org/release/3.11.0/whatsnew/changelog.html#id106
So, when we will required python 3.10 and more, we will need to drop this hack.
Currently, for CoreFoundation and CoreText, we use a "hack" to find their library path because of a bug in the
ctypes.util.find_library()function.The bug has been resolved in those python version:
3.8.12 - https://docs.python.org/release/3.8.12/whatsnew/changelog.html#macos
3.9.7 - https://docs.python.org/release/3.9.7/whatsnew/changelog.html#macos
3.10.0 - https://docs.python.org/release/3.10.0/whatsnew/changelog.html#macos
3.11.0 alpha 1 - https://docs.python.org/release/3.11.0/whatsnew/changelog.html#id106
So, when we will required python 3.10 and more, we will need to drop this hack.