Your message dated Sat, 13 Jun 2026 20:33:46 +0000
with message-id <[email protected]>
and subject line Bug#1139930: fixed in debputy 0.1.89
has caused the Debian Bug report #1139930,
regarding dh-debputy: syntax warning in metadata_detectors.py
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.)


-- 
1139930: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1139930
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-debputy
Version: 0.1.88

Upgrading from dh-debputy 0.1.87, I noticed a warning (sorry for the
German):

,----
| Vorbereitung zum Entpacken von .../dh-debputy_0.1.88_all.deb ...
| Entpacken von dh-debputy (0.1.88) über (0.1.87) ...
| Vorbereitung zum Entpacken von .../libteckit0_2.5.13+ds-2_amd64.deb ...
| dh-debputy (0.1.88) wird eingerichtet ...
| /usr/share/dh-debputy/debputy/plugins/debputy/metadata_detectors.py:118: 
SyntaxWarning: invalid escape sequence '\-'
|   if systemd-tmpfiles --help | grep -q "\-\-purge"; then
`----

I think the following patch should fix this, but it is completely
untested.

diff --git a/src/debputy/plugins/debputy/metadata_detectors.py b/src/debputy/plugins/debputy/metadata_detectors.py
index 9c1fa9e2..80cb4aa5 100644
--- a/src/debputy/plugins/debputy/metadata_detectors.py
+++ b/src/debputy/plugins/debputy/metadata_detectors.py
@@ -115,7 +115,7 @@ def detect_systemd_tmpfiles(
         TMPFILES_CONTENT=tmpfiles_content,
     )
     purge_snippet = textwrap.dedent("""\
-            if systemd-tmpfiles --help | grep -q "\-\-purge"; then
+            if systemd-tmpfiles --help | grep -q -e "--purge"; then
                     systemd-tmpfiles ${{DPKG_ROOT:+--root="$DPKG_ROOT"}} --purge - >/dev/null <<TMPFILES_EOF || true
         {TMPFILES_CONTENT}
         TMPFILES_EOF

-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

--- End Message ---
--- Begin Message ---
Source: debputy
Source-Version: 0.1.89
Done: Niels Thykier <[email protected]>

We believe that the bug you reported is fixed in the latest version of
debputy, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niels Thykier <[email protected]> (supplier of updated debputy 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 13 Jun 2026 19:31:46 +0000
Source: debputy
Architecture: source
Version: 0.1.89
Distribution: unstable
Urgency: medium
Maintainer: Debputy Maintainers <[email protected]>
Changed-By: Niels Thykier <[email protected]>
Closes: 1139930
Changes:
 debputy (0.1.89) unstable; urgency=medium
 .
   * debputy: Fix `SyntaxWarning` about invalid escape sequence.
     Thanks to Sven Joachim <[email protected]> for filing the bug
     and providing a patch. Also thanks to
     Jochen Sprickerhof <[email protected]> for also be quick
     to report the problem. (Closes: #1139930)
   * CI: Tweak the CI setup and dependencies
Checksums-Sha1:
 f103d6d7de11510aed320711e548ca0221be8fa6 2625 debputy_0.1.89.dsc
 4dedc136a23eebf222e7facd06ccf3a2bc519e87 709044 debputy_0.1.89.tar.xz
 bfd54a38cb1b10c1d30506a318f392d6ecf29f8a 1242936 debputy_0.1.89.git.tar.xz
 b095cc808ef3a61cd3f5cdc4e1094fc538c32442 17484 debputy_0.1.89_source.buildinfo
Checksums-Sha256:
 67322678a6b8a84aaa0f4ef0560f1cbc6f8a370239bba0bab5b7b65e6030bf77 2625 
debputy_0.1.89.dsc
 681bec70d4b010dd941058e8a5285aabcf350b09d6f2102a94581fdf3b178b65 709044 
debputy_0.1.89.tar.xz
 dc5451be2526d0288b01c9860ef7744e68681382c83eb8f3aacff9b5ea2f4d71 1242936 
debputy_0.1.89.git.tar.xz
 fa2420676fb117efa52c136ce38418181e085611cee817c359dc761b753dfa2a 17484 
debputy_0.1.89_source.buildinfo
Files:
 d48b26f1b15d8c35e07365d1c0f2a574 2625 devel optional debputy_0.1.89.dsc
 9619268b33c2cff470ddc289b2e46f1b 709044 devel optional debputy_0.1.89.tar.xz
 9061cb7cf6fdf0042b99d2c137a853a1 1242936 devel None debputy_0.1.89.git.tar.xz
 bc9520da9b62c5cd1edb31ca35c45815 17484 devel optional 
debputy_0.1.89_source.buildinfo
Git-Tag-Info: tag=489d21848507ca0363a9c6e343cb4bc90300db79 
fp=f5e7199aef5e5c67e555873f740d68888365d289
Git-Tag-Tagger: Niels Thykier <[email protected]>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmotuQQACgkQYG0ITkaD
wHl/IxAA3A7nx8oehSeCIbU3h9fHBKnTSaIWqLg6uJOnVKU/qggk7laqAYPzLOAH
x2BUKko6qMV6gKFxjWNlT+v1L3LdKK7HG4Jfpl80yRa0UcgCx10fvs45W4Mvgl+n
8sugW68xHvLGMKwObXn3lyok8i/pHDF5kLsfW7NRWOMHLR8+V4hGrcYoFLhxgR9i
Ko2Z/0b62YbbVe/p9fjCYZpUZzzAYRGdK4/3fiATgIgH8K17/mZbAiYaeK7p8GzK
8B2FNIHzaaPreXDXXN35xg3vrZQWIjYRpWKT/9bwPFXz83j28eOX/zbN2Zs/0OIL
Fw70+ZxRzEXuZVITb8zHM98XXJ4CY/XNgbwxh7Ph/3SCesbl+UOOznX0kIkgktUT
NLoWO6ogHELe/Xsnhazta51juTtqj7nD/pKJk377ohEYlkKiQK9Y+FxgJXgaLr56
yK1d5SQIX0vGoWyDwLhY4OKsCcswDZhsge/8Kaf77cXmdek3WUNOtBYQq84YgZxs
raciOXoRBtzc1qYwgGkD1EouR1r+nmgTio9oY1rIggsN14RBBv5ppMAEJz9UeZd7
dpykSrakK9UCRGeViIDsWBjgxdyklJVmht/RWDAn/Uy24QL5VjJws6zwvAM6yqfX
TczUc0dVRJSZGuAingJVLJYMJjUooywNE7HNT8UC16yz4peuDwU=
=T6Ol
-----END PGP SIGNATURE-----

Attachment: pgpkaiJunacQz.pgp
Description: PGP signature


--- End Message ---

Reply via email to