[SIP] Failed to build with SIP >= 6.6

Weitian Leung just_fancy at live.com
Mon Jun 6 00:39:52 BST 2022


It does fix the typedef problem when using 6.6.2.dev2206041316
But the second case still failed.

Also this release eats up all the memory while generating bindings and got killed finally.

sip-build --enable common
These bindings will be built: common.
Generating the common bindings...
Killed
​[cid:b424c3b1-c367-4665-bb6f-295c40291702]
________________________________
From: Phil Thompson <phil at riverbankcomputing.com>
Sent: Sunday, June 5, 2022 11:47 PM
To: Weitian Leung <Just_Fancy at live.com>
Cc: pyqt at riverbankcomputing.com <pyqt at riverbankcomputing.com>
Subject: Re: [SIP] Failed to build with SIP >= 6.6

On 05/06/2022 14:35, Weitian Leung wrote:
> While upgrading sip to 6.6, my project
> <https://github.com/timxx/pywpsrpc> unable to build anymore.
>
>   1.   Unable to use typedef as filename:
>   2.
> %Include typedef.sip
>   3.  Now failed with : 'typedef' is unexpected
>
> This problem is fine as  I can simply rename the file.
>
>   1.  Unable to generate empty interface bindings:
>
> struct Foo /Abstract/
> {
> };
> ​Now just failed with : '}' is unexpected, I don't known how to fix
> this as there are some empty interfaces for my project.
>
> I don't see any related changes from
> https://www.riverbankcomputing.com/news/SIP_v6.6.0_Released.
> It seems that this release have other breaking changes.
> Riverbank Computing | SIP v6.6.0
> Released<https://www.riverbankcomputing.com/news/SIP_v6.6.0_Released>
> SIP v6.6.0 Released. 12 April 2022. SIP v6.6.0 has been released. This
> is a functional and bug-fix release. Python v3.6 is no longer
> supported. The .sip file parser (created using flex and bison) has
> been replaced with a pure Python implementation using PLY.; The latest
> version of ABI v13 is v13.3.0.
> www.riverbankcomputing.com<http://www.riverbankcomputing.com>

I'd suggest trying with the snapshot as it has many parser related
fixes.

Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220605/0e442b5c/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 30734 bytes
Desc: image.png
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220605/0e442b5c/attachment-0001.png>


More information about the PyQt mailing list