[Distutils] draft PEP: manylinux1

David Cournapeau cournape at gmail.com
Wed Jan 27 13:29:58 EST 2016


On Wed, Jan 27, 2016 at 5:43 PM, Nathaniel Smith <njs at pobox.com> wrote:

> On Jan 27, 2016 09:00, "David Cournapeau" <cournape at gmail.com> wrote:
> >
> [...]
> > The main argument against using centos 5 is GUI-related components, as
> the old fontconfig/glib (the GTK one, not Gnu libc) are a problem. But
> those are a tiny minority of what people do with python nowadays, and they
> require a lot of work to get right.
>
> This is the part that intrigued me :-). Can you elaborate at all on what
> kind of problems you've encountered with fontconfig and glib?
>
> (Well, I can guess at one piece of excitement maybe: that glib is not
> really vendorable because a process can have only one main loop, and that
> lives in glib these days for both gtk and Qt, so any packages doing any GUI
> stuff are required to agree to use the same glib version.)
>

So vendoring glib is possible (we actually do it ATM, though we may revert
that). The problem is that now when you load say PyQt w/ Qt linked against
your vendored glib, you get into issues if that glib is higher than the
glib used in the system (that happens through pango IIRC). So if you want
to stay compatible, you need to build an old glib, which is what you were
trying to avoid in the first place. There is no good solution, really

David

> -n
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160127/55a98422/attachment.html>


More information about the Distutils-SIG mailing list