pyqtdeploy: sip API version mismatch

Patrick Stinson patrickkidd at gmail.com
Mon Oct 24 20:02:35 BST 2022


With sip-5.5.0 in my python env, which requires < python 3.10
PyQt-5.15.2 and sip abi-version "12.8" in the toml's, I'm getting this for
pyqtdeploy-sysroot:

Generating the _pkdiagram bindings...

sip-build:
/Users/patrick/dev/familydiagram/.venv/lib/python3.9/site-packages/PyQt5/bindings/QtCore/QtCoremod.sip:23:
syntax error



Cheers,

-Patrick

On Mon, Oct 24, 2022 at 7:50 AM Patrick Stinson <patrickkidd at gmail.com>
wrote:

> Ah gotcha. I’ll give that a shot.
>
> I was trying to build with 12.11 but was getting a crash at exit when
> importing both a pure sip and a PyQt-builder extension in the same app exe.
> So this is an attempt to revert the sip version to see if that fixes it.
>
> On Mon, Oct 24, 2022 at 7:25 AM Phil Thompson <phil at riverbankcomputing.com>
> wrote:
>
>> On 24/10/2022 16:09, Patrick Stinson wrote:
>> > I'm getting the following error when loading the pyqtdeploy project
>> > defined
>> > by the attached files. The sip extension modules specify 12.8. How can
>> > I
>> > get PyQt5 to use 12.8 instead of 12.11 in the sysroot?
>>
>> Build PyQt5 with a version of SIP for which 12.8 was current - which I
>> think was SIP v5.
>>
>> > RuntimeError: the sip module implements API v12.0 to v12.8 but the
>> > PyQt5.QtCore module requires API v12.11
>>
>> Phil
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20221024/d5e77980/attachment-0001.htm>


More information about the PyQt mailing list