Opened 9 months ago

Last modified 9 months ago

#68931 closed defect

py-sip builds contain incorrect code. — at Initial Version

Reported by: SiggyF Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: ventura sonoma Cc:
Port: py-sip

Description

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).

Change History (0)

Note: See TracTickets for help on using tickets.