Your message dated Mon, 1 Dec 2025 19:00:54 +0000
with message-id 
<uv4cxbfdamogtn44lybdbpumngx62rxjddtsqj3i2mtkh2e3mi@wetq7dafye42>
and subject line 
has caused the Debian Bug report #1115825,
regarding dh-python: Please add introspection hints to dh-python helpers
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1115825: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115825
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-python
Severity: wishlist
X-Debbugs-Cc: [email protected]

Hi,

In debhelper/13.26, `dh_assistant list-guessed-dh-config-files` will now
report `debhelper` commands that does not declare which config files it
supports. As an example:

```shell
$ dh_assistant list-guessed-dh-config-files
{
   "commands-not-introspectable": [
      "dh_autoreconf",
      "dh_strip_nondeterminism"
   ],
   # ... more JSON here, omitted for brevity
}
```

This is in turn used by `debputy migrate-from-dh` to warn people when
`debhelper` config files might be overlooked.

In case of `dh_python3`, then it is currently not introspectable.

I believe this bug can be fixed by filling out and adding the following comment anywhere in the `dh_python3` command (the file found PATH - imports are not
followed):

```
# INTROSPECTABLE: CONFIG-FILES pkgfile(pyinstall) pkgfile(pyremove) ...
```

(Please fill in the remaining pkgfiles, I only added the two first I saw from the documentation).

My argument here is that:

 1) The helper can never be skipped (so NOOP promise is not valid)
 2) The helper reacts to `debian/pkg.pyinstall` and
    `debian/pkg.pyremove` (+ other files) if present.

If either of these are false, then please review `doc/PROGRAMMING.md` in
debhelper/13.26 for alternatives or reply back to me for assistance.

Please be sure that the hints covers all configuration files as once the hint is present, it is assumed to be complete.

Best regards,
Niels

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Version: 6.20251029

Sorry, this was fixed without closing the bug.

dh-python (6.20251029) unstable; urgency=medium

  [ Colin Watson ]
  * dh_python3: Suppress generated dependencies that would be satisfied by
    python3 >= 3.11.

  [ Matthias Klose ]
  * autoscripts/prerm-py3clean: Check for a working /usr/bin/python3,
    the same interpreter used for py3clean.  Addresses: #1109501.

  [ Stefano Rivera ]
  * Update the list of Python versions we test things for.
  * Rename stable ABI extensions to include a multiarch tuple, allowing
    co-installation.

  [ Simon Chopin ]
  * pybuild: add an optional dest arg to testfiles syntax (Closes: #947800)

  [ Niels Thykier ]
  * dh_python3: Add introspection hints for known configuration files

 -- Stefano Rivera <[email protected]>  Wed, 29 Oct 2025 15:53:03 +0200

--- End Message ---

Reply via email to