[PyQt] ANN: PyQt v5.14.1 Released

Grzegorz Bokota g.bokota at mimuw.edu.pl
Mon Jan 6 16:59:23 GMT 2020


And this glibc problem cannot be fixed with manylinux2010? There is a need
to upgrade to manylinux2014?

Regards,
Grzegorz Bokota

Pon., 6 sty 2020, 14:54 użytkownik Florian Bruhin <me at the-compiler.org>
napisał:

> On Mon, Jan 06, 2020 at 01:06:22PM +0000, Phil Thompson wrote:
> > On 06/01/2020 12:55, Florian Bruhin wrote:
> > > Hey,
> > >
> > > On Mon, Jan 06, 2020 at 01:04:32AM +0000, Phil Thompson wrote:
> > > > PyQt v5.14.1 has been released. This is a minor bug-fix release.
> > >
> > > It looks like that release is a manylinux2014 rather than a manylinux1
> > > release.
> > > Is that intended?
> >
> > Yes. The manylinux1 tag was always a lie. The issue is the GLIBC
> dependency
> > which is imposed by Qt.
>
> I guess it'd be good to keep up that lie until PyQt 5.15 or so, when
> tooling
> hopefully has caught up. Rationale below.
>
> > > - Why is it building from source instead of using the wheel?
> >
> > Presumably because it doesn't like any of the wheels, probably because
> pip
> > is too old.
>
> Ah, it looks like this happens because of how "python3 -m venv" works. It
> uses
> Python's ensurepip module, which as of Python 3.8.1 bundles pip 19.2.3
> (i.e.
> new enough for manylinux1 and manylinux2010, but not manylinux2014 - see
> [1]).
>
> Here's an example of what doesn't work anymore:
>
>     $ pip --version
>     pip 19.3.1 from
> /home/florian/tmp/.hostenv/lib/python3.8/site-packages/pip (python 3.8)
>     $ python3 --version
>     Python 3.8.1
>
>     $ python3 -m venv .venv
>     $ .venv/bin/pip --version
>     pip 19.2.3 from
> /home/florian/tmp/.venv/lib/python3.8/site-packages/pip (python 3.8)
>
>     $ .venv/bin/pip install --only-binary :all: PyQt5==5.14.1
>     Collecting PyQt5==5.14.1
>       ERROR: Could not find a version that satisfies the requirement
> PyQt5==5.14.1 (from versions: [...], 5.14.0)
>
> In other words, if you use the Python builtin way of creating virtual
> environments, you'll need an extra step to be able to install PyQt5 wheels
> now.
>
> When using wrappers around venv such as tox, that extra step might not be
> supported in some obvious way (in the case of tox, I don't think I can get
> it
> to upgrade the virtualenv's pip before installing dependencies).
>
> [1]
> https://github.com/python/cpython/blob/v3.8.1/Lib/ensurepip/__init__.py#L13
> [2] https://docs.python.org/3/library/venv.html
>
> Florian
>
> --
> me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org
>        https://bruhin.software/ |
> https://github.com/sponsors/The-Compiler/
>        GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
>              I love long mails! | https://email.is-not-s.ms/
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200106/a0fa8d54/attachment-0001.html>


More information about the PyQt mailing list