Eli Rykoff added the comment:
To add a bit more color, I don't think you can explicitly set
LIBFFI_INCLUDE_DIR, it's set by the configure script explicitly. The problem
is that some time between python 3.9 and 3.10 the configure script has (at
least in our system) failed to figu
Eli Rykoff added the comment:
Thanks for your quick feedback! I signed the CLA after submitting the PR, but
I think it takes a bit of time to percolate through the system.
As for the "why", until 3.9.1 conda-forge had been successfully using an
external ffi (with 3.9.0 + osx-arm
Change by Eli Rykoff :
--
keywords: +patch
pull_requests: +22730
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/23868
___
Python tracker
<https://bugs.python.org/issu
New submission from Eli Rykoff :
Building python 3.9.1 on Apple Silicon compiled against a external
(non-os-provided) libffi makes the following code return a MemoryError:
Test:
import ctypes
@ctypes.CFUNCTYPE(None, ctypes.c_int, ctypes.c_char_p)
def error_handler(fif, message):
pass
I