<div dir="auto">So maybe add check of pip version in setup.py and print warning message?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Pon., 6 sty 2020, 18:11 użytkownik Phil Thompson <<a href="mailto:phil@riverbankcomputing.com">phil@riverbankcomputing.com</a>> napisał:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It's not a question of "upgrading". The Qt binaries use glibc v2.17. The <br>
corresponding tag is manylinux2014. The issue is that that requires a <br>
recent version of pip.<br>
<br>
Phil<br>
<br>
On 06/01/2020 16:59, Grzegorz Bokota wrote:<br>
> And this glibc problem cannot be fixed with manylinux2010? There is a <br>
> need<br>
> to upgrade to manylinux2014?<br>
> <br>
> Regards,<br>
> Grzegorz Bokota<br>
> <br>
> Pon., 6 sty 2020, 14:54 użytkownik Florian Bruhin <<a href="mailto:me@the-compiler.org" target="_blank" rel="noreferrer">me@the-compiler.org</a>><br>
> napisał:<br>
> <br>
>> 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<br>
>> 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<br>
>> 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<br>
>> pip<br>
>> > is too old.<br>
>> <br>
>> Ah, it looks like this happens because of how "python3 -m venv" works. <br>
>> It<br>
>> uses<br>
>> Python's ensurepip module, which as of Python 3.8.1 bundles pip 19.2.3<br>
>> (i.e.<br>
>> new enough for manylinux1 and manylinux2010, but not manylinux2014 - <br>
>> see<br>
>> [1]).<br>
>> <br>
>> Here's an example of what doesn't work anymore:<br>
>> <br>
>>     $ pip --version<br>
>>     pip 19.3.1 from<br>
>> /home/florian/tmp/.hostenv/lib/python3.8/site-packages/pip (python <br>
>> 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<br>
>> /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<br>
>> 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 <br>
>> wheels<br>
>> now.<br>
>> <br>
>> When using wrappers around venv such as tox, that extra step might not <br>
>> be<br>
>> supported in some obvious way (in the case of tox, I don't think I can <br>
>> get<br>
>> it<br>
>> to upgrade the virtualenv's pip before installing dependencies).<br>
>> <br>
>> [1]<br>
>> <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> |<br>
>> <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>
>> <br>
<br>
</blockquote></div>