[MacPorts] #68931: py-sip builds contain incorrect code.
MacPorts
noreply at macports.org
Sun Dec 17 17:00:35 UTC 2023
#68931: py-sip builds contain incorrect code.
--------------------+--------------------
Reporter: SiggyF | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: py-sip
--------------------+--------------------
There was a bug in the 3.8.0 version of py-sip. This bug was fixed [two
weeks](https://www.riverbankcomputing.com/hg/sip/rev/67e0294b505c) ago in
3.8.1.
This also solved [68828](https://trac.macports.org/ticket/68828).
Now the 3.8.1 is available. Somehow the old code ended up in the builds of
the pre-build 3.8.1 version.
This can be checked in for example the file:
https://packages.macports.org/py311-sip/py311-sip-6.8.1_0.darwin_22.arm64.tbz2
There we see the old code:
```
opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
/site-packages/sipbuild/generator/outputs/code.py
8417: if klass.docstring is None or klass.docstring.signature is not
SocstringSignature.DISCARDED:
```
I don't understand how this old codes ends up in this file. I checked the
[distfile](https://ftp.fau.de/macports/distfiles/py-sip/sip-6.8.1.tar.gz)
and that contains the correct code (without the typo *Soc*string).
--
Ticket URL: <https://trac.macports.org/ticket/68931>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list