Re: Many packages unnecessarily link to libpython

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On 17 May 2020, at 14:48, Simon Farnsworth <simon@xxxxxxxxxxxx> wrote:
> 
>> On 15 May 2020, at 19:12, Charalampos Stratakis <cstratak@xxxxxxxxxx> 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.

And checked - the code to use GStreamer from Python is not linked to libpython, only the code to use Python instead of C to write GStreamer plugins.

> 
>> -- 
>> Regards,
>> 
>> Charalampos Stratakis
>> Software Engineer
>> Python Maintenance Team, Red Hat
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux