[SIP] Failed to build with SIP >= 6.6

Weitian Leung just_fancy at live.com
Sat Jun 11 02:06:59 BST 2022


Thanks, the latest snapshot version already fixed my problems.
________________________________
From: Phil Thompson <phil at riverbankcomputing.com>
Sent: Monday, June 6, 2022 6:43 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 06/06/2022 00:39, Weitian Leung wrote:
> 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
>
>>
> -------------------------
>
> 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 [1].
>> 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> [2]
>
> I'd suggest trying with the snapshot as it has many parser related
> fixes.

The next snapshot should allow empty class bodies.

The new parser will be slower and use more memory. These will be
improved once the whole of SIP has been converted to Python. However the
current usage shouldn't cause a problem - nobody else has commented.

Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220611/47f96203/attachment-0001.htm>


More information about the PyQt mailing list