#1133706 dh-python: Debhelper 14: Support to work without ${Python3:Depends} stanza in d/control files.

#1133706#5
Date:
2026-04-13 22:46:46 UTC
From:
To:
Hey,

Debhelper 14 uses automatic substvars usage for matching fields, so
dh_python3 should not result with an error, if it does not find any
${Python3:Depends} in d/control.

E: dh_python3 dh_python3:108: no package to act on (python3-foo or one
with ${python3:Depends} in Depends).

For dh_qmldeps I solved this by checking for the active debhelper compat
level and disable the check for the variable:

def active_compat_level:
https://salsa.debian.org/qt-kde-team/pkg-kde-tools/-/blob/master/pythonlib/pkgkde.py?ref_type=heads#L52

usage:
https://salsa.debian.org/qt-kde-team/pkg-kde-tools/-/blob/master/pythonlib/qmldeps.py?ref_type=heads#L396

regards,

hefee

#1133706#10
Date:
2026-05-24 22:32:35 UTC
From:
To:
Hello,

Bug #1133706 in dh-python reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/tools/dh-python/-/commit/8fc461b2bf6e37d6e3e07dbc383ab0ee87c83f92
------------------------------------------------------------------------
Don't require substvars with debhelper compat level >= 14

Closes: #1133706
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1133706

#1133706#15
Date:
2026-05-24 22:39:17 UTC
From:
To:
Hello,

Bug #1133706 in dh-python reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/tools/dh-python/-/commit/2f4619a0f1fcd047e173eac0e1643f1823373aa6
------------------------------------------------------------------------
Don't require substvars with debhelper compat level >= 14

Closes: #1133706
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1133706

#1133706#18
Date:
2026-05-24 22:45:40 UTC
From:
To:
Hello,

Bug #1133706 in dh-python reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/tools/dh-python/-/commit/2f4619a0f1fcd047e173eac0e1643f1823373aa6
------------------------------------------------------------------------
Don't require substvars with debhelper compat level >= 14

Closes: #1133706
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1133706

#1133706#23
Date:
2026-05-25 00:18:29 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
dh-python, 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 1133706@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <stefanor@debian.org> (supplier of updated dh-python 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, 24 May 2026 18:48:39 -0400
Source: dh-python
Architecture: source
Version: 7.20260524
Distribution: unstable
Urgency: medium
Maintainer: Piotr Ożarowski <piotr@debian.org>
Changed-By: Stefano Rivera <stefanor@debian.org>
Closes: 1133706 1135722 1137486
Changes:
 dh-python (7.20260524) unstable; urgency=medium
 .
   * Fix crash in "pybuild --interpreter python3.x" (Closes: #1137486)
   * Fix crash with DEB_BUILD_OPTIONS=terse (Closes: #1135722, LP: #2150227)
   * Don't require substvars with debhelper compat level >= 14 (Closes: #1133706)
Checksums-Sha1:
 123683de80fa2efa7c4479cdbe7deb5fc9e92c8a 1686 dh-python_7.20260524.dsc
 0f978266aa5b6bc15a0bdb2d54c3a53856f6fa5a 137884 dh-python_7.20260524.tar.xz
 a7733a4ae86fd3fcc420ef606a2b1f30f0f38126 6889 dh-python_7.20260524_source.buildinfo
Checksums-Sha256:
 b09fcef459f151deb1db348d9cf00160c46fcd2f2fa85c1567352c060e200f19 1686 dh-python_7.20260524.dsc
 800ce345f047a38d621ca75f56109ec1dea0c9521589d4d58615b0076b9fbeb1 137884 dh-python_7.20260524.tar.xz
 bafdb1497977c62d50bd4a714d59edbaa515f1d9d3d8ce016a19a9cdceca3b94 6889 dh-python_7.20260524_source.buildinfo
Files:
 3b210890c910dc7293de570c6e201bae 1686 python optional dh-python_7.20260524.dsc
 59ce232bcfe20d86b211f90a4d012cb0 137884 python optional dh-python_7.20260524.tar.xz
 9a562e8c2306a0643c8fde753c4729f1 6889 python optional dh-python_7.20260524_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCahORxxQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2NHFAP98MFvfDrLjgCClx4HfhlgEBbQShOFa
GboohyzSkypCWQEAzlyMUxck9iU/yOop3L5y0Z/gnjcx48obpHVKhgQKsgI=
=3K3O
-----END PGP SIGNATURE-----