Hi,

Our bundled copy of libffi has been removed from Python 3.7 by this
change which should explain the rationale:
https://bugs.python.org/issue27979

Not all Python changes need a PEP. For Windows builds, we provide
prebuilt binaries of our dependencies:
https://github.com/python/cpython-source-deps/blob/master/README.rst

My notes on Python dependencies:
https://pythondev.readthedocs.io/files.html


> we support older Linux distributions that don't have libffi

I'm curious, which old Linux distributions don't have libffi? Usually,
libffi is preinstalled on Linux, only the development header files are
required (a package with a name like "libffi-devel"). Can't you
install libffi on these old distributions? IMHO libffi installation
should not be the Python problem, bundling a library copy in Python is
causing more issues compared to advantages.

Victor

Le jeu. 17 oct. 2019 à 14:52, Kacvinsky, Tom
<tom.kacvin...@vector.com> a écrit :
>
> I have been comiling Python 3.8 from source and have had a really difficult 
> time
> with getting _ctypes to compile.  I see that libffi is no longer distributed 
> with the
> Python source code, in preference for what is on the system.  I searched for a
> PEP that describes the rationale behind this, but my Google fu must be weak.
>
> I have also seen requests that a patch be committed that makes configuring the
> use of libffi easier, but as far as I can tell, these have not been 
> committed.  It is
> something I would like to see as I am in a situation where I cannot depend on 
> the
> system libffi - we support older Linux distributions that don't have libffi - 
> an so I
> am making a static libffi to be linked in.
>
> Any guidance on this issue would be helpful.
>
> Thanks,
>
> TOm
> _______________________________________________
> Python-Dev mailing list -- python-dev@python.org
> To unsubscribe send an email to python-dev-le...@python.org
> https://mail.python.org/mailman3/lists/python-dev.python.org/
> Message archived at 
> https://mail.python.org/archives/list/python-dev@python.org/message/PPAN5U3VXQ6GDQFQE6TPGEPWTK7WRJZY/
> Code of Conduct: http://python.org/psf/codeofconduct/



-- 
Night gathers, and now my watch begins. It shall not end until my death.
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/BA6BPUSVWUZFRW7C24RDTWYN7FGEG2VA/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to