[SIP] Failed to build with SIP >= 6.6

Phil Thompson phil at riverbankcomputing.com
Sun Jun 5 16:47:08 BST 2022


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

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

Phil


More information about the PyQt mailing list