#1141467 libshiboken6-dev: Needs to depend on some versioned *python3-dev

Package:
libshiboken6-dev
Source:
libshiboken6-dev
Description:
CPython bindings generator for C++ libraries (development files)
Submitter:
Andrey Rakhmatullin
Date:
2026-07-20 11:21:02 UTC
Severity:
normal
#1141467#5
Date:
2026-07-05 09:41:12 UTC
From:
To:
/usr/lib/x86_64-linux-gnu/pkgconfig/shiboken6.pc contains
"python_include_dir=/usr/include/python3.13" and "-I/usr/include/python3.13",
that directory is shipped in libpython3.13-dev. However libshiboken6-dev only
depends on python3-dev, thus it doesn't work correctly when python3-dev is not
3.13, like currently in sid, as can be seen in the test-pkgconf-variables.sh
autopkgtest failing with "python_include_dir = /usr/include/python3.13  <==
ERROR: doesn't exist". I don't know how exactly should the dependency be
changed but it evidently needs to reflect the versioned path.

I also don't know if this is the only problem for default Python version
changes, there could be more. This is just the visible one.

#1141467#12
Date:
2026-07-10 20:39:03 UTC
From:
To:
I think the declared Depends: python3-dev is not wrong in a direct
sense.  The problem is that the python path in shiboken6.pc gets set
to the default python at the time of build, so in that sense
"python3-dev" (default python) is correct.

The problem is that there is no binary dependence on libpython3.13
(it's not linked into shiboken's .so library files), so pyside6 got
missed and was never rebuilt for the python3.14 transition.

So a simple binNMU would reset shiboken6.pc and make the package
consistent with the new default python 3.14.
This is the simplest workaround.

But better if we can reconfigure so that the rebuild is triggered
automatically.  We'd want to replace the Depends: python3-dev
with something like ${shiboken:libpython}
and define the substvar in debian/rules for use with a dh_shlibdeps
override.

Could debate whether its value should be
  python3-dev (>= {pydefault}, python3-dev (<< {pydefault+1}~)
or just
  python{pydefault}-dev

The latter is simpler, but since there is no version-specific
reference anywhere except in shiboken6.pc, one could argue
for the former.

I'm assuming here without deep analysis that python3-dev (or
python3.14-dev) is correct for the dependency, rather than just using
libpython3-dev (or libpython3.14-dev) without the python3 executable.

#1141467#17
Date:
2026-07-20 11:19:22 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pyside6, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1141467@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stuart Prescott <stuart@debian.org> (supplier of updated pyside6 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 19 Jul 2026 12:52:52 +1000
Source: pyside6
Architecture: source
Version: 6.10.3-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Stuart Prescott <stuart@debian.org>
Closes: 1141466 1141467
Changes:
 pyside6 (6.10.3-3) unstable; urgency=medium
 .
   * Add versioned dependencies on python3-dev to libshiboken6-dev restricting
     to the default Python interpreter version (Closes: #1141467).
   * Add test dependency on  python3-tqdm to let some tests pass
     (Closes: #1141466).
   * Drop overrides for lintian tags now removed.
   * Move to debhelper compat 14.
Checksums-Sha1:
 4f70c2e8225316b6556363cd1791f97b76d94950 9986 pyside6_6.10.3-3.dsc
 ecfa11b0ad0197326ea301b424f4d39597317aed 30364 pyside6_6.10.3-3.debian.tar.xz
 40189318af94fd844df319c4e59bce0dd887c23b 22402976 pyside6_6.10.3-3.git.tar.xz
 9eff5fa188fd6c79c915447f61bc4067170d7404 17550 pyside6_6.10.3-3_source.buildinfo
Checksums-Sha256:
 83b02c23cfcd274f853e5122f5fd028aeac4a4e2e64c51c680c19116c689c49c 9986 pyside6_6.10.3-3.dsc
 f606cf99853602946f15516fdf4ac0cf55556275dde0a0d8cedc86470bb3cb1c 30364 pyside6_6.10.3-3.debian.tar.xz
 fe77bffdb3c6742c542f123e5648eca92d7d03a913676f5cc8bb900fa754c398 22402976 pyside6_6.10.3-3.git.tar.xz
 1bacc00668d1a9ade8583efb811357620993b93d365ec025d681df50c19e6d79 17550 pyside6_6.10.3-3_source.buildinfo
Files:
 9bc99c597bd31df5f58c917f8cb56d28 9986 python optional pyside6_6.10.3-3.dsc
 f7ed48fd64c4299749921294605e5c63 30364 python optional pyside6_6.10.3-3.debian.tar.xz
 1ab6e83d8554174de4080ffce5fbc9ca 22402976 python None pyside6_6.10.3-3.git.tar.xz
 e9e8cb78e338039f20353f5da1dde571 17550 python optional pyside6_6.10.3-3_source.buildinfo
Git-Tag-Info: tag=b8513c738d384e482f2f4e103ef6f937e05bb686 fp=90e2d2c1ad146a1b7ebb891dbbc17ebb1396f2f7
Git-Tag-Tagger: Stuart Prescott <stuart@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmpeARMACgkQYG0ITkaD
wHn4wQ//TvUfKQCgff5+Cb11NlYBzXjhbEW1kQ5Vn6+C2ZXKwHkSgW0wgFAndF/7
DW+w2qEcKCaJpIGQX0MH6iQ/G8PxcVU0CWP9KCW5D9ycINIrRzfCa28jHREzHqqA
2p0ido054Vr/Tfpmubg1pZ2ifUO4pPn4DN93a3YJpx7cEAyRDRLjVHIz+Cmkj3M+
l/bf9qQU2ysYspVCg/F06w97/uq9HGRwmghMdEd6EM/hnr8+noAqe3S3bUqol5f8
xs4AkuhCFhVN6Byw8N9u/0ITK+V1lhKOcUwAcGObHf07GUhbxV57GRFqShuMhGF2
EBbMEuRd53d+Ugi7ZXUrsHMKil3Ei4EpGHXxcGG2uoYYndUmPNdkWYSdexvSih80
RqgiVM2QbabgNg/K5u8IlNcO6nzx+rKnUxUZq5Z75UUkSIF7AH2qXnDtkOS2FHLh
DMvPMZ8dxOdfX7rFlGvC6js/kvVoeIhaOep9Wp8U1gypAkm+Zs1vd7L6ASn+e1Qd
XWWKklCjolqycQ23O+v7MrFp3BtRGAyAGDNx6vtkJ2G5ATqtHs6utW2Pe28662A/
ujkUY/72Kc46dVBfoBOLG0cACqWf34b7gzeIZ79n1LIu5MXcGkbdN4hPV3X+8VPo
BK+06hvHETlkuw6QXf0r5VANn3SLlnS2QLLu35aHp39FeQUYRyQ=
=klCA
-----END PGP SIGNATURE-----