On 15 May 2020, at 19:12, Charalampos Stratakis
<cstratak(a)redhat.com> wrote:
Hello everyone,
As of Python 3.8, python C extensions modules should not link to libpython, unless they
embed the interpreter in their code. Relevant upstream PR:
https://github.com/python/cpython/pull/12946
If your package links to libpython without requiring it, it won't be possible to use
the python3-debug binary with your python C extension, unless you recompile the extension
against it.
On Fedora Rawhide, there are at this point 144 packages linking to libpython, many of
those possibly without any need for it.
<snip>
python-gstreamer1 farnz wtaymans
python-gstreamer1 links to libpython for writing GStreamer plugins in Python, embedded in
a C application.
I'll need to dig deeper to confirm that only the code for writing plugins in Python is
actually linked to libpython, not the code for using GStreamer from Python.
--
Regards,
Charalampos Stratakis
Software Engineer
Python Maintenance Team, Red Hat