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