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