[Debian-med-packaging] Bug#1060741: ball: Please port from sip4 to sip6

Andreas Tille andreas at an3as.eu
Sat Jan 27 06:56:46 GMT 2024


Control: tags -1 help

Am Sat, Jan 13, 2024 at 06:49:06PM +0300 schrieb Dmitry Shachnev:
> Your package currently builds with sip4, which is a deprecated version of SIP.
> The modern version of SIP is packaged as sip6.

OK.
 
> The documentation on how to use modern SIP is available in sip6-doc package,
> or on the SIP website [1]. The recommended approach is using SIP's own
> PEP 517-compliant build system (i.e. pyproject.toml and project.py files),
> however some projects (e.g. krita upstream) have successfully integrated SIP 6
> into their CMake-based build systems.
>
> SIP 4 has an RC bug related to Python 3.12 [2] and it's unlikely to be fixed.
> 
> Please port this package to SIP 6, and after that is done, remove the build-
> dependency on python3-sip-dev.

I gave it a try by changing the Build-Depends first[1] and see what
happens[2].  I think the problem is caused by this Python file[3] where
I tried to replace

  import sipconfig

by

  import sipbuild

Since I'm lacking the knowledge about the new interface (and was not
able to find the solution after a *quick* search in sip6-doc) I gave up
here and ask for help.  I could forward the issue upstream but I would
like to have a first idea about a patch.

Kind regards
   Andreas.

[1] https://salsa.debian.org/med-team/ball/-/commit/0ce394c22083f2dd06e1585094df34275dc978a4
[2] https://salsa.debian.org/med-team/ball/-/jobs/5210016
[3] https://salsa.debian.org/med-team/ball/-/blob/master/cmake/FindSIP.py?ref_type=heads#L8

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list