Re: ANN: PyQt v5.14.1 Released
Florian Bruhin <[email protected]>
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <[email protected]> |
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
--
[email protected] (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 [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE4E5WAAJAG47w528KkW6wyP1VoHIFAl4TO7cACgkQkW6wyP1V oHKkbw//f1sfYvMQ4CE5hnqsNkAtnwAP5dx3aBwOrRa/NdrfHX2kMIMmUIQJAbbw zOk2yp3VVXdfwsm1qTMbne9GneRSAv3axhvhqtQSAuZ03CiTwk45A/Z0LJ79lySW wLiHFIPC6b3WDqcED65ySyGkgupMyQ9ET/qWSNdNZC+8w++gy2126vT1RHDiPAOy M98ytc19lPA1xkOdr3R0QJO/GxO7GnbIs8o9cURze/riNhc+kTF1ngN0c+TVeR8B qgRRZARkCfwpvGZy25rp6m30UbppFuRazRbt7ttTQi4dffj/mVRQ70riyOOqDH5o 7RYoX7ziEP8EusecjGSmX/U/YYYip6P013eXHtO9JYZeWgL+qj6nTv39rF43w9+F QZyP1Nr1xIjqVZK/0I1q5iSiY9jKZz0sfPhh4IVPRukgkK25cslAYNmOwM0HG+jm FW69/6/n9JP7hSI3Yp6y54W69msdxWtdGrbofZwtFFekA/iJ/HyKYMo4ZnQ4S+0o aRZI7oQnIESNJLEgbuRQrlVKRrQ+7JLh2p1UT5ZJS7tPCpXRCUDoCFJ9W+8+TjGc olG4WKoRFngFMCYNoYMTcRvAKKSlHOVQmfCeC1UH8vHIFPUQ1vKRhIMfekkw9ztC vW+WDQDCqC7oKaYWTP6hDp6pTKuYiBeDCOycMuBBG+pHaGI380g= =rJ8F -----END PGP SIGNATURE-----