pyqtdeploy: sip API version mismatch
patrickkidd at gmail.com
Mon Oct 24 20:39:40 BST 2022
Or rather, the highest open source versions of everything without upgrading
On Mon, Oct 24, 2022 at 11:18 AM Patrick Stinson <patrickkidd at gmail.com>
> Maybe it would be easier to just get the latest versions and necessary
> .toml values to build a pyqtdeploy project compatible with latest open
> source releases of PyQt5-5.15.*, Qt-5.15.*, Python-3.*? I assume that would
> include values in:
> - local python environment
> - sysroot.toml
> - my_custom_extension.toml
> FWIW, the goal of my pyqtdeploy-demo project in the recent email thread
> was to work out a minimal reproducible example to reference for these sorts
> of problems, but it is stuck on the two outstanding questions from Oct 17.
> On Mon, Oct 24, 2022 at 11:02 AM Patrick Stinson <patrickkidd at gmail.com>
>> 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
>> Generating the _pkdiagram bindings...
>> syntax error
>> On Mon, Oct 24, 2022 at 7:50 AM Patrick Stinson <patrickkidd at gmail.com>
>>> 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
>>>> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt