[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: Request: Build PyQt6-Qt6 Linux wheels as manylinux1
From:       Francois Dion <francois () dangerdevices ! com>
Date:       2022-07-29 16:14:44
Message-ID: CAHjxKPxp6etEa90Tc457TDHc54wKm9zXMpgr5FSwc_6Ypn4b9A () mail ! gmail ! com
[Download RAW message or body]

Any suggestions to resolve this?

On Tue, Jul 19, 2022 at 9:47 AM Francois Dion <francois@dangerdevices.com>
wrote:

> Thanks Carlos for pointing that out. Hadn't gotten to the linux testing
> yet in going from pyqt5 to pyqt6. That's one curveball I'll have
> to address. I checked as an alternative
> https://anaconda.org/conda-forge/pyqt/files but there is no pyqt6
> available at all.
>
>
> Francois Dion
> Data Systems @ Danger Devices
>
> On Tue, Jul 19, 2022 at 4:18 AM Carlos Pereira Atencio <
> carlosperate@gmail.com> wrote:
>
>> Hi Florian,
>>
>> Yes, I meant PyQt6->manylinux1 and PyQt6-Qt6->manylinux_2_28.
>>
>> Thanks for the clarification of where the limitation comes from! That's a
>> pity, as Ubuntu 18.04 is still supported by Canonical for another year, but
>> ships glibc 2.27, so a Python app using the PyPI PyQt6 wheels will only be
>> compatible out of the box with Ubuntu 20.04+.
>>
>> Cheers,
>> Carlos
>>
>> On Tue, 19 Jul 2022 at 07:48, Florian Bruhin <me@the-compiler.org> wrote:
>>
>>> Hi,
>>>
>>> On Mon, Jul 18, 2022 at 10:23:59PM +0100, Carlos Pereira Atencio wrote:
>>> > Right now the PyQt6-Qt6 Linux wheel is manylinux1, which is great for
>>> > compatibility with older distros, but the PyQt6-Qt6 Linux wheel is
>>> > manylinux_2_28, so that makes it a bit contraproductive.
>>>
>>> You have the same wheel name there twice. I'm assuming you meant PyQt6
>>> (rather than PyQt6-Qt6) in the first sentence?
>>>
>>> > So ideally we would have all PyQt-related linux wheels using the same
>>> > manylinux1 platform.
>>>
>>> This is a Qt limitation. PyQt wheels ship Qt's official binaries, and
>>> those only work with glibc 2.28+:
>>> https://doc.qt.io/qt-6/supported-platforms.html
>>>
>>>     Note: Linux binary packages are linked against glibc 2.28. If you
>>>     are using a glibc version older than that you need to build Qt from
>>>     sources or upgrade glibc to 2.28 or newer.
>>>
>>> Florian
>>>
>>> --
>>>             me@the-compiler.org | 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/
>>>
>>

[Attachment #3 (text/html)]

<div dir="ltr">Any suggestions to resolve this?</div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 19, 2022 at 9:47 AM \
Francois Dion &lt;<a \
href="mailto:francois@dangerdevices.com">francois@dangerdevices.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks \
Carlos for pointing that out. Hadn&#39;t gotten to the linux testing yet in going \
from pyqt5 to pyqt6. That&#39;s one curveball I&#39;ll  have to  address. I checked \
as an alternative <a href="https://anaconda.org/conda-forge/pyqt/files" \
target="_blank">https://anaconda.org/conda-forge/pyqt/files</a> but there is no pyqt6 \
available at all.  <div><br></div><div><br></div><div>Francois Dion</div><div>Data \
Systems  @ Danger Devices</div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">On Tue, Jul 19, 2022 at 4:18 AM Carlos Pereira Atencio &lt;<a \
href="mailto:carlosperate@gmail.com" target="_blank">carlosperate@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div \
dir="ltr"><div>Hi Florian,</div><div><br></div><div>Yes, I meant PyQt6-&gt;manylinux1 \
and PyQt6-Qt6-&gt;manylinux_2_28.</div><div><br></div><div>Thanks for the \
clarification of where the limitation comes from! That&#39;s a pity, as Ubuntu 18.04 \
is still supported by Canonical for another year, but ships glibc 2.27, so a Python \
app using the PyPI PyQt6 wheels will only be compatible out of the box with Ubuntu \
20.04+.</div><div><br></div><div>Cheers,</div><div>Carlos<br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 19 Jul 2022 at 07:48, \
Florian Bruhin &lt;<a href="mailto:me@the-compiler.org" \
target="_blank">me@the-compiler.org</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">Hi,<br> <br>
On Mon, Jul 18, 2022 at 10:23:59PM +0100, Carlos Pereira Atencio wrote:<br>
&gt; Right now the PyQt6-Qt6 Linux wheel is manylinux1, which is great for<br>
&gt; compatibility with older distros, but the PyQt6-Qt6 Linux wheel is<br>
&gt; manylinux_2_28, so that makes it a bit contraproductive.<br>
<br>
You have the same wheel name there twice. I&#39;m assuming you meant PyQt6<br>
(rather than PyQt6-Qt6) in the first sentence?<br>
<br>
&gt; So ideally we would have all PyQt-related linux wheels using the same<br>
&gt; manylinux1 platform.<br>
<br>
This is a Qt limitation. PyQt wheels ship Qt&#39;s official binaries, and<br>
those only work with glibc 2.28+:<br>
<a href="https://doc.qt.io/qt-6/supported-platforms.html" rel="noreferrer" \
target="_blank">https://doc.qt.io/qt-6/supported-platforms.html</a><br> <br>
      Note: Linux binary packages are linked against glibc 2.28. If you<br>
      are using a glibc version older than that you need to build Qt from<br>
      sources or upgrade glibc to 2.28 or newer.<br>
<br>
Florian<br>
<br>
-- <br>
                  <a href="mailto:me@the-compiler.org" \
target="_blank">me@the-compiler.org</a> | <a href="https://www.qutebrowser.org" \
rel="noreferrer" target="_blank">https://www.qutebrowser.org</a> <br>  <a \
href="https://bruhin.software/" rel="noreferrer" \
target="_blank">https://bruhin.software/</a> | <a \
href="https://github.com/sponsors/The-Compiler/" rel="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" \
                target="_blank">https://the-compiler.org/pubkey.asc</a><br>
                    I love long mails! | <a href="https://email.is-not-s.ms/" \
rel="noreferrer" target="_blank">https://email.is-not-s.ms/</a><br> \
</blockquote></div></div> </blockquote></div>
</blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic