<div dir="ltr"><div>I'm trying to install the pyqt6 6.7.2 wheels from the local server, but I'm not seeing them:</div><div><br></div><div>Command i'm running:</div><div>python -m pip install --index-url <a href="https://www.riverbankcomputing.com/pypi/simple/">https://www.riverbankcomputing.com/pypi/simple/</a> \<br> --pre \<br> --only-binary=PyQt6 \<br> PyQt6</div><div><br></div><div>Seems to only see PyQt6 6.7.0-1, but it can't install that due to not finding a compatible version of PyQt6-sip.</div><div><br></div><div>This is part of a CI run I have configured to test pre-releases, so if I should be using a different pip install command, let me know.</div><div><br></div><div>Ogi<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jun 22, 2024 at 2:00 PM <<a href="mailto:pyqt-request@riverbankcomputing.com">pyqt-request@riverbankcomputing.com</a>> 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">Send PyQt mailing list submissions to<br>
<a href="mailto:pyqt@riverbankcomputing.com" target="_blank">pyqt@riverbankcomputing.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" target="_blank">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:pyqt-request@riverbankcomputing.com" target="_blank">pyqt-request@riverbankcomputing.com</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:pyqt-owner@riverbankcomputing.com" target="_blank">pyqt-owner@riverbankcomputing.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of PyQt digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Unsupported return type QList<qint64> (Phil Thompson)<br>
2. ANN: SIP v6.8.4 Released (Phil Thompson)<br>
3. ANN: PyQt-builder v1.16.3 Released (Phil Thompson)<br>
4. Qt v6.7.2 Wheels Available on Local PyPI Server (Phil Thompson)<br>
5. Re: Qt v6.7.2 Wheels Available on Local PyPI Server<br>
(Detlev Offenbach)<br>
6. Re: Qt v6.7.2 Wheels Available on Local PyPI Server<br>
(Phil Thompson)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 21 Jun 2024 13:22:48 +0100<br>
From: Phil Thompson <<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>><br>
To: Julien Cabieces <<a href="mailto:julien.cabieces@oslandia.com" target="_blank">julien.cabieces@oslandia.com</a>><br>
Cc: pyqt <<a href="mailto:pyqt@riverbankcomputing.com" target="_blank">pyqt@riverbankcomputing.com</a>><br>
Subject: Re: Unsupported return type QList<qint64><br>
Message-ID: <<a href="mailto:b427b67ccccb9b0962d6d233a57f8426@riverbankcomputing.com" target="_blank">b427b67ccccb9b0962d6d233a57f8426@riverbankcomputing.com</a>><br>
Content-Type: text/plain; charset=US-ASCII; format=flowed<br>
<br>
On 20/06/2024 09:38, Julien Cabieces wrote:<br>
> Sorry Phil I answered directly to you instead of the list, here is the<br>
> same message and more.<br>
> <br>
> QList is a template mapped type so it should work with other<br>
> primitive type, no?<br>
<br>
No. Mapped type templates only work as templates when type arguments are <br>
wrapped types. With other type arguments (eg. primitive types) they work <br>
as template selectors. This is because the Python API is different for <br>
converting different primitive types.<br>
<br>
> It does work with QList<long long> although there<br>
> is no mapped type<br>
> provided, and qint64 is nothing more than a long long.<br>
<br>
SIP will select a template based on the underlying primitive types (ie. <br>
after resolving any typedefs) according to the current platform and <br>
version of Qt. PyQt implements a mapped type for QList<qsizetype> when <br>
building against Qt v6.5.0 or later. PyQt defines both qint64 and <br>
qsizetype as long long so it will pick that mapped type for Qt v6.5.0 or <br>
later and fail with earlier versions.<br>
<br>
> Contrary to what I said before, it doesn't look like it's<br>
> related to different minor version of sip 6.<br>
> <br>
> According to my test:<br>
> <br>
> - QList<qint64> works with sip 6 on fedora (39, 40) but fails on debian<br>
> (stable, testing, unstable).<br>
> <br>
> - QList<qint64> has never worked with sip 4 (fedora or debian).<br>
<br>
You mention PyQt6-Qt6 but this is irrelevant as you aren't building <br>
against that Qt installation. I assume you are building against the <br>
distro's Qt installation. Do Fedora and Debian have different versions <br>
of Qt?<br>
<br>
> Any idea on how to fix this except for a "if debian" directives?<br>
<br>
The correct fix is to provide your own QList<qint64> mapped type (maybe <br>
only with version of Qt older than v6.5).<br>
<br>
> Regards,<br>
> Julien<br>
> <br>
>> On 18/06/2024 14:09, Julien Cabieces wrote:<br>
>>> Hi,<br>
>>> When I try to bind a method with a return type QList<qint64>, I get<br>
>>> the following error<br>
>>> sip-build: testmod.sip: line 27: column 3: 'Test::testList' has an<br>
>>> unsupported return type - provide %MethodCode and a C++ signature<br>
>>> I get this error only with the following installed software:<br>
>>> PyQt-builder==1.16.2 PyQt6==6.7.0 PyQt6-Qt6==6.7.0 PyQt6-sip==13.6.0<br>
>>> sip==6.8.3<br>
>>> and not with<br>
>>> PyQt-builder==1.15.2 PyQt6==6.6.0 PyQt6-Qt6==6.6.0 PyQt6-sip==13.6.0<br>
>>> sip==6.7.12<br>
>>> How can I fix it to match both software versions<br>
>>> Regards,<br>
>>> Julien<br>
>> <br>
>> PyQt doesn't provide a mapped type for QList<qint64> so I don't<br>
>> understand how it worked with the older versions.<br>
>> <br>
>> Phil<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 21 Jun 2024 15:48:42 +0100<br>
From: Phil Thompson <<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>><br>
To: <a href="mailto:pyqt@riverbankcomputing.com" target="_blank">pyqt@riverbankcomputing.com</a><br>
Subject: ANN: SIP v6.8.4 Released<br>
Message-ID: <<a href="mailto:f32d15f76a902ed8a8b7ce0fcd2f6562@riverbankcomputing.com" target="_blank">f32d15f76a902ed8a8b7ce0fcd2f6562@riverbankcomputing.com</a>><br>
Content-Type: text/plain; charset=US-ASCII; format=flowed<br>
<br>
SIP v6.8.4 has been released, including support for Python v3.13. The <br>
release notes are here...<br>
<br>
<a href="https://python-sip.readthedocs.io/en/stable/releases.html#v6-8-4" rel="noreferrer" target="_blank">https://python-sip.readthedocs.io/en/stable/releases.html#v6-8-4</a><br>
<br>
Phil<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 21 Jun 2024 16:41:07 +0100<br>
From: Phil Thompson <<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>><br>
To: <a href="mailto:pyqt@riverbankcomputing.com" target="_blank">pyqt@riverbankcomputing.com</a><br>
Subject: ANN: PyQt-builder v1.16.3 Released<br>
Message-ID: <<a href="mailto:7610d323083a9af26502f2f2465d3a92@riverbankcomputing.com" target="_blank">7610d323083a9af26502f2f2465d3a92@riverbankcomputing.com</a>><br>
Content-Type: text/plain; charset=US-ASCII; format=flowed<br>
<br>
PyQt-builder v1.16.3 has been released. This is a minor bug-fix release. <br>
The release notes are here...<br>
<br>
<a href="https://pyqt-builder.readthedocs.io/en/stable/releases.html#v1-16-3" rel="noreferrer" target="_blank">https://pyqt-builder.readthedocs.io/en/stable/releases.html#v1-16-3</a><br>
<br>
Phil<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Fri, 21 Jun 2024 17:15:36 +0100<br>
From: Phil Thompson <<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>><br>
To: <a href="mailto:pyqt@riverbankcomputing.com" target="_blank">pyqt@riverbankcomputing.com</a><br>
Subject: Qt v6.7.2 Wheels Available on Local PyPI Server<br>
Message-ID: <<a href="mailto:670bc0315a1f0783a8e9f03587f0783b@riverbankcomputing.com" target="_blank">670bc0315a1f0783a8e9f03587f0783b@riverbankcomputing.com</a>><br>
Content-Type: text/plain; charset=US-ASCII; format=flowed<br>
<br>
Qt v6.7.2 wheel are available on the local PyPI server.<br>
<br>
These should fix the broken ffmpeg support on macOS and Windows.<br>
<br>
I'll move them to <a href="http://pypi.org" rel="noreferrer" target="_blank">pypi.org</a> in a couple of days if there are no problems.<br>
<br>
Phil<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Fri, 21 Jun 2024 19:13:12 +0200<br>
From: Detlev Offenbach <<a href="mailto:detlev@die-offenbachs.de" target="_blank">detlev@die-offenbachs.de</a>><br>
To: <a href="mailto:pyqt@riverbankcomputing.com" target="_blank">pyqt@riverbankcomputing.com</a><br>
Subject: Re: Qt v6.7.2 Wheels Available on Local PyPI Server<br>
Message-ID: <<a href="mailto:d2cc19af-bb1a-4c60-bf08-4ec9eed29b82@die-offenbachs.de" target="_blank">d2cc19af-bb1a-4c60-bf08-4ec9eed29b82@die-offenbachs.de</a>><br>
Content-Type: text/plain; charset="utf-8"; Format="flowed"<br>
<br>
Hi Phil,<br>
<br>
are you planning to do a new PyQt6 release with a pyuic6 that can cope <br>
with the changes in UI files introduced with designer of Qt 6.7.0?<br>
<br>
Regards,<br>
Detlev<br>
<br>
Am 21.06.24 um 18:15 schrieb Phil Thompson:<br>
> Qt v6.7.2 wheel are available on the local PyPI server.<br>
><br>
> These should fix the broken ffmpeg support on macOS and Windows.<br>
><br>
> I'll move them to <a href="http://pypi.org" rel="noreferrer" target="_blank">pypi.org</a> in a couple of days if there are no problems.<br>
><br>
> Phil<br>
<br>
-- <br>
Detlev Offenbach<br>
<a href="mailto:detlev@die-offenbachs.de" target="_blank">detlev@die-offenbachs.de</a><br>
<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: OpenPGP_0xBD1F26A5DA8A6150.asc<br>
Type: application/pgp-keys<br>
Size: 660 bytes<br>
Desc: OpenPGP public key<br>
URL: <<a href="https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240621/ea1b656c/attachment-0001.asc" rel="noreferrer" target="_blank">https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240621/ea1b656c/attachment-0001.asc</a>><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: OpenPGP_signature.asc<br>
Type: application/pgp-signature<br>
Size: 236 bytes<br>
Desc: OpenPGP digital signature<br>
URL: <<a href="https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240621/ea1b656c/attachment-0001.sig" rel="noreferrer" target="_blank">https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240621/ea1b656c/attachment-0001.sig</a>><br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Fri, 21 Jun 2024 18:35:19 +0100<br>
From: Phil Thompson <<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>><br>
To: Detlev Offenbach <<a href="mailto:detlev@die-offenbachs.de" target="_blank">detlev@die-offenbachs.de</a>><br>
Cc: <a href="mailto:pyqt@riverbankcomputing.com" target="_blank">pyqt@riverbankcomputing.com</a><br>
Subject: Re: Qt v6.7.2 Wheels Available on Local PyPI Server<br>
Message-ID: <<a href="mailto:9947f39d751ef5b070b73bc4d668f14b@riverbankcomputing.com" target="_blank">9947f39d751ef5b070b73bc4d668f14b@riverbankcomputing.com</a>><br>
Content-Type: text/plain; charset=US-ASCII; format=flowed<br>
<br>
Probably in the next week or two.<br>
<br>
On 21/06/2024 18:13, Detlev Offenbach wrote:<br>
> Hi Phil,<br>
> <br>
> are you planning to do a new PyQt6 release with a pyuic6 that can cope<br>
> with the changes in UI files introduced with designer of Qt 6.7.0?<br>
> <br>
> Regards,<br>
> Detlev<br>
> <br>
> Am 21.06.24 um 18:15 schrieb Phil Thompson:<br>
>> Qt v6.7.2 wheel are available on the local PyPI server.<br>
>> <br>
>> These should fix the broken ffmpeg support on macOS and Windows.<br>
>> <br>
>> I'll move them to <a href="http://pypi.org" rel="noreferrer" target="_blank">pypi.org</a> in a couple of days if there are no <br>
>> problems.<br>
>> <br>
>> Phil<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
PyQt mailing list<br>
<a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" target="_blank">https://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
<br>
<br>
------------------------------<br>
<br>
End of PyQt Digest, Vol 239, Issue 18<br>
*************************************<br>
</blockquote></div>