[SIP] sip-build error since 6.8.0 release due to a typo

Phil Thompson phil at riverbankcomputing.com
Thu Nov 30 21:17:50 GMT 2023


On 30/11/2023 18:17, Antoine Lambert wrote:
> Hi,
> 
> I am using SIP to generate Python bindings for a personal project 
> hosted on
> https://github.com/anlambert/talipot
> (a fork of a graph visualization software I was working on during my 
> PhD).
> 
> Since the release of SIP 6.8.0, most of my CI builds are failing due to
> that sip-build error when bindings code
> is generated, this is clearly due to a typo in
> sipbuild/generator/outputs/code.py
> file.
> 
>  File
> "/home/anlambert/.virtualenvs/swh/lib/python3.11/site-packages/sipbuild/generator/outputs/code.py",
> line 8411, in _class_docstring
>    if klass.docstring is None or klass.docstring.signature is not
> SocstringSignature.DISCARDED:
> 
> ^^^^^^^^^^^^^^^^^^
> 
> NameError: name 'SocstringSignature' is not defined. Did you mean:
> 'DocstringSignature'?
> 
> Best regards.

Fixed in tonight's snapshot.

Thanks,
Phil


More information about the PyQt mailing list