<div dir="ltr"><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">Hi,</span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">I am using SIP to generate Python bindings for a personal project hosted on <a href="https://github.com/anlambert/talipot">https://github.com/anlambert/talipot</a></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">(a fork of a graph visualization software I was working on during my PhD).</span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">Since the release of SIP 6.8.0, most of my CI builds are failing due to that sip-build error when bindings code<br></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">is generated, this is clearly due to a typo in </span></span><span style="font-family:monospace">sipbuild/generator/outputs/code.py file.</span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"><br></span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">Traceback (most recent call last):
</span></span></div><div><span style="font-family:monospace"></span></div><span style="font-family:monospace">  File "/home/anlambert/.virtualenvs/swh/bin/sip-build", line 8, in <module>
<br>    sys.exit(main())
<br>             ^^^^^^
<br>  File "/home/anlambert/.virtualenvs/swh/lib/python3.11/site-packages/sipbuild/tools/build.py", line 37, in main
<br>    handle_exception(e)
<br>  File "/home/anlambert/.virtualenvs/swh/lib/python3.11/site-packages/sipbuild/exceptions.py", line 83, in handle_exception
<br>    raise e
<br>  File "/home/anlambert/.virtualenvs/swh/lib/python3.11/site-packages/sipbuild/tools/build.py", line 34, in main
<br>    project.build()
<br>  File "/home/anlambert/.virtualenvs/swh/lib/python3.11/site-packages/sipbuild/project.py", line 245, in build
<br>    self.builder.build()
<br>  File "/home/anlambert/.virtualenvs/swh/lib/python3.11/site-packages/sipbuild/builder.py", line 46, in build
<br>    self._generate_bindings()
<br>  File "/home/anlambert/.virtualenvs/swh/lib/python3.11/site-packages/sipbuild/builder.py", line 273, in _generate_bindings
<br>    buildable = bindings.generate()
<br>                ^^^^^^^^^^^^^^^^^^^
<br>  File "/home/anlambert/.virtualenvs/swh/lib/python3.11/site-packages/sipbuild/bindings.py", line 220, in generate
<br>    output_code(spec, self, project, buildable)
<br>  File "/home/anlambert/.virtualenvs/swh/lib/python3.11/site-packages/sipbuild/generator/outputs/code.py", line 60, in output_code
<br>    _module_code(spec, bindings, project, py_debug, buildable)
<br>  File "/home/anlambert/.virtualenvs/swh/lib/python3.11/site-packages/sipbuild/generator/outputs/code.py", line 1269, in _module_code
<br>    _iface_file_cpp(spec, bindings, project, buildable, py_debug,
<br>  File "/home/anlambert/.virtualenvs/swh/lib/python3.11/site-packages/sipbuild/generator/outputs/code.py", line 2132, in _iface_file_cpp
<br>    _class_cpp(sf, spec, bindings, klass, py_debug)
<br>  File "/home/anlambert/.virtualenvs/swh/lib/python3.11/site-packages/sipbuild/generator/outputs/code.py", line 2396, in _class_cpp
<br>    _type_definition(sf, spec, bindings, klass, py_debug)
<br>  File "/home/anlambert/.virtualenvs/swh/lib/python3.11/site-packages/sipbuild/generator/outputs/code.py", line 5660, in _type_definition
<br>    _class_docstring(sf, spec, bindings, klass)
<br>  File "/home/anlambert/.virtualenvs/swh/lib/python3.11/site-packages/sipbuild/generator/outputs/code.py", line 8411, in _class_docstring
<br>    if klass.docstring is None or klass.docstring.signature is not SocstringSignature.DISCARDED:
<br>                                                                   ^^^^^^^^^^^^^^^^^^
<br>NameError: name 'SocstringSignature' is not defined. Did you mean: 'DocstringSignature'?<br></span><br clear="all"><div>Best regards.<br></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Antoine Lambert<br></div></div></div>