> Python 3 traditionally in Fedora was built with a shared library
> libpython3.?.so and the final binary was dynamically linked against
> that shared library. This change is about creating the static library
> and linking the final python3 binary against it,

I oppose this change, because this is yet another size increase:

> As a negative side effect, when both libpython3.8.so and
> /usr/bin/python3.8 are installed, the filesystem footprint will be
> slightly increased (libpython3.8.so on Python 3.8.0, x86_64 is ~3.4M).

and while:

> OTOH only a very small amount of packages will depend on
> libpython3.8.so.

in practice, that does not help because some of those packages are installed 
by default, e.g., the ones you mentioned being installed by default even on 
the Docker image:

> *'''libcomps'''
> *'''libdnf'''
> *'''vim'''

but there are more, such as gdb, libreoffice, krita, boost, etc. that are 
installed on various live images, and calamares, which is popular on 
remixes. So all those images will be bloated as a result of your code 
duplicating change.


In addition:

> By applying this change, libpython's namespace will be separated from
> Python's, so '''C extension which are still linked to libpython'''
> might experience side effects or break.

so compatibility is an issue too.

        Kevin Kofler
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to