#1151983 python-httptools: FTBFS: E: dh_python3 fs:312: python3-httptools includes a common build directory name 'tests' as a module. Likely due to a mis-configured build system installing things it shouldn't.

#1151983#5
Date:
2026-10-25 11:03:56 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-httptools, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
Skipping SOURCES.txt
running install_scripts
   dh_installdocs -O--buildsystem=pybuild
   dh_installchangelogs -O--buildsystem=pybuild
   dh_python3 -O--buildsystem=pybuild
E: dh_python3 fs:312: python3-httptools includes a common build directory name 'tests' as a module. Likely due to a mis-configured build system installing things it shouldn't.
make: *** [debian/rules:12: binary] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1151983#10
Date:
2026-10-27 10:00:13 UTC
From:
To:
I tried to fix this probably fairly trivial bug, only to find that the
build fails for unrelated reasons, and the repository on Salsa is a
mess:

$ git --no-pager log debian/0.1.1-3..origin/debian/master
commit c79d35f4fa4956301a5fb3b3cda8dc628d0f8534 (origin/debian/master, origin/HEAD)
Author: Alexandre Detiste <tchet@debian.org>
Date:   Sat Nov 23 16:46:15 2024 +0100

     start patch review

commit a8ebc75833d500f03079b351a379d5298e5d7932
Merge: b2bd63b 52233ea
Author: Alexandre Detiste <tchet@debian.org>
Date:   Sat Nov 23 16:43:00 2024 +0100

     Update upstream source from tag 'upstream/0.6.4'

     Update to upstream version '0.6.4'
     with Debian dir 97410b39f92562cf1c28213109031fd70d8a2e02

commit 52233eadca06f245b6befd1d519b205401cca0cc (tag: upstream/0.6.4, origin/upstream, upstream)
Author: Alexandre Detiste <tchet@debian.org>
Date:   Sat Nov 23 16:43:00 2024 +0100

     New upstream version 0.6.4

commit b2bd63b3569aa57e37a01cee4697196f54fe934c
Author: Alexandre Detiste <tchet@debian.org>
Date:   Sat Nov 23 16:40:52 2024 +0100

     use dh-sequence-python3

commit 90939c455a31b270f431977ecb9740b49fde2353
Author: Alexandre Detiste <tchet@debian.org>
Date:   Sat Nov 23 16:40:19 2024 +0100

     update watch file for new GitHub API

This clearly shouldn't have been pushed, as it's broken and nobody is
planning to fix it.  What do you want me to do with it?  Shall I just
move your commits to a branch and roll back debian/master to the last
release, or do you have work in progress somewhere to fix this?

Thanks,

#1151983#15
Date:
2026-10-27 12:40:38 UTC
From:
To:
By the way, I should say that I really appreciate the huge amount of
excellent QA work that you do in general!  I just want to have some idea
of what's best to do when work is incomplete, that's all.

Thanks,

#1151983#18
Date:
2026-10-27 19:47:26 UTC
From:
To:
Hello,

Bug #1151983 in python-httptools 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/packages/python-httptools/-/commit/d659004c981c513d8368e2893fd038785eb1195d
------------------------------------------------------------------------
do not install tests/ (Closes: #1151983)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1151983

#1151983#25
Date:
2026-10-27 20:47:28 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-httptools, 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 1151983@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated python-httptools 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: Tue, 27 Oct 2026 20:43:17 +0100
Source: python-httptools
Architecture: source
Version: 0.9.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1151983
Changes:
 python-httptools (0.9.0-1) unstable; urgency=medium
 .
   * Team Upload
   * Update watch file for new GitHub API
   * New upstream version 0.9.0
   * Use dh-sequence-python3
   * Remove old patches, add patch to use system libraries
   * Do not install tests/ (Closes: #1151983)
   * Depends on pybuild-plugin-pyproject & libllhttp-dev
   * Drop "Rules-Requires-Root: no"
Checksums-Sha1:
 21f269621b229faad6bf2b3e4807883cecf0c143 2214 python-httptools_0.9.0-1.dsc
 6096a531fda7d7cf98edcf61794ec6517deee236 22788 python-httptools_0.9.0.orig.tar.gz
 669a6d0aad2e30ca6168fbab1cf5b426a11a9f27 3124 python-httptools_0.9.0-1.debian.tar.xz
 514020bd27aaa6f980b537c20fc6b3d6d5dd42ad 7583 python-httptools_0.9.0-1_source.buildinfo
Checksums-Sha256:
 9043d858a97f386da6cfef1966f66a98a3a8bfcf2ca526f33eb248d1e5dfec15 2214 python-httptools_0.9.0-1.dsc
 670db09274b70b78ea8da41ae35960dee4a3fb01d31f68bd695c7e1b6cf2fa54 22788 python-httptools_0.9.0.orig.tar.gz
 80f3e30cd1f462e30b12c72ab27a6bd3c1025d5893039979aa44b410a0febc03 3124 python-httptools_0.9.0-1.debian.tar.xz
 529cda5ed4d1f1c76f3cb29a64933b2df6102fcb2cd1886af6d75981d4a89a53 7583 python-httptools_0.9.0-1_source.buildinfo
Files:
 755602c3a6694560db1eac849c5c4370 2214 python optional python-httptools_0.9.0-1.dsc
 82f6f6253dd3bf256fd521502bfa782c 22788 python optional python-httptools_0.9.0.orig.tar.gz
 e6959b45890a3df2487530d6347d0f23 3124 python optional python-httptools_0.9.0-1.debian.tar.xz
 d88b3648d52421b642e2a1971d19151e 7583 python optional python-httptools_0.9.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmrhBJYRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBrZsA/+LhFH9AfBkr306fc28hIvyNpKLg1aq+7Z
ZkHgDB/UGabisod9i4mReZmSbLDjDyLvjmA87P8aHeNl4IoJFY3jixCpOetrynGw
Uw6rVGco16bTr8dgw/dC/8WR/sCOXQgemNyw1jRCNhHEUBrbglqR1ULw9hp8qy5j
YECcB5Y8EzE0CTo1eRNRj/KYEiXzC3wZQRQrAwWZoOYy5Pda30aBXbcbjmx0foHN
t5HvgSwubt/0OadOkKy7ptB3FW6R6dICpc/sh3UrNanmnl7VVqbvypQpwPVa4wWM
Dk4beqDSdSAiFnejX5sHoHC4AbETV7N03/42mj6OHNC2zr+Ej1n6NZA6hbObG560
VuafT7wgEZZIQ9WYXhODGSpKbBsGLyPXkrsGh9vu7UDdYa4pKFCPoINaUeeFQa0r
vp+ne62V0twdg98qKHmmNe13tTCHgyHi7UpC8+t1RQ1Aw1tM8YGF/Zo7l1IDxFea
BBkIXmHeFbeb6o6p1g+Bcu2Taicek+NtBeIKbyrYyWgyjZr+xCdac6G2TsrUFXki
s2K9Lp2Fj+9MPW7Y0ZdT5LuDa8J68ZWZ2YOnBBUURUzkm794i4A2e+Zo8hIST7t4
SMsuT4UgvRZE5qxE8OytQ9jlVvjINgA4UHjL6z9tSLnlM7rPiW4cFV11uiBN1kC6
/LDB8zErIi0=
=0ywC
-----END PGP SIGNATURE-----