#1151903 python-test-server: FTBFS: E: dh_python3 fs:312: python3-test-server includes a common build directory name 'tests' as a module. Likely due to a mis-configured build system installing things it shouldn't. #1151903
- Package:
- src:python-test-server
- Source:
- src:python-test-server
- Submitter:
- Santiago Vila
- Date:
- 2026-10-28 02:53:02 UTC
- Severity:
- normal
- Tags:
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-test-server, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] rm -f /<<PKGBUILDDIR>>/debian/python-test-server/usr/bin/test_server make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_installdocs -O--buildsystem=pybuild dh_installchangelogs -O--buildsystem=pybuild dh_python3 -O--buildsystem=pybuild E: dh_python3 fs:312: python3-test-server 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:10: binary] Error 1 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
Hello, Bug #1151903 in python-test-server 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-test-server/-/commit/26d6f93824875e02cdae93d3bc8dfe2bed832dcf ------------------------------------------------------------------------ Fix handling of test files to not leave artifacts behind Two parts: - let pybuild handle copying and deleting of the test files - add an __init__.py so that pytest can find the tests Closes: #1151903 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1151903
We believe that the bug you reported is fixed in the latest version of
python-test-server, 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 1151903@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 python-test-server 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: Wed, 28 Oct 2026 13:02:28 +1100
Source: python-test-server
Architecture: source
Version: 0.0.43-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Stuart Prescott <stuart@debian.org>
Closes: 1151903
Changes:
python-test-server (0.0.43-2) unstable; urgency=medium
.
* Team upload.
* Fix test file handling to delete the tests files after running the tests
(Closes: #1151903).
* Help pytest find the tests by making them a module.
* Drop manual autopkgtest in favour of autopkgtest-pkg-pybuild.
* Suppress automatic dependency generation on python3-multipart (which is
not the right multipart module).
* Update Standards-Version to 4.7.4 (no changes required).
Checksums-Sha1:
38a8edaf410b36de6e841aa08bee3192412a14bf 2478 python-test-server_0.0.43-2.dsc
74b64651c310e921ffe6f4f12d557c6531b7420e 12012 python-test-server_0.0.43-2.debian.tar.xz
a3fd3e670062dd2adf021527534c77e3addb4f20 78496 python-test-server_0.0.43-2.git.tar.xz
9e55f7b94f18c857e5ab27d8e8229a551bf6e2a9 17780 python-test-server_0.0.43-2_source.buildinfo
Checksums-Sha256:
31dd737fce8b50254b26145aa06f73760c66c3cdbf2f548a08fc0419e21e1675 2478 python-test-server_0.0.43-2.dsc
02508045b2133c4be29a573d9e5f9808aac8faaa38ce5921ca42772468b68c26 12012 python-test-server_0.0.43-2.debian.tar.xz
2c69bb84757aff2868871845e2d3eaf952057ddb366f9d2ec6ff6b1a7c1ecb5a 78496 python-test-server_0.0.43-2.git.tar.xz
59191ff2c364ec0a5e0c4d2bae7864b1e8b8201ede90974c3f99d995da42b1da 17780 python-test-server_0.0.43-2_source.buildinfo
Files:
7d360d4795b47b0face5c324286ee6d4 2478 python optional python-test-server_0.0.43-2.dsc
3cc3dddecdc72fdda61ce259e91ab520 12012 python optional python-test-server_0.0.43-2.debian.tar.xz
06cf173c9ebe58c2b521da25388edfa8 78496 python None python-test-server_0.0.43-2.git.tar.xz
91e2be60a9addb2800a2537f9f7fcde6 17780 python optional python-test-server_0.0.43-2_source.buildinfo
Git-Tag-Info: tag=bfef5e2a8e6de38633c7953b07d153826d2d8b1c fp=90e2d2c1ad146a1b7ebb891dbbc17ebb1396f2f7
Git-Tag-Tagger: Stuart Prescott <stuart@debian.org>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrhYGUACgkQYG0ITkaD
wHm5sRAAubQeedgK7OYTbllFYbn43Dnx7Rm8sNSlmT4lVnCxFSaG2SAckOs/x49P
Kjl0eI4LpwpSTevLjSVPcGyI2kr/QkwZTpkgXaKQRrcgU08c9Lnjxud4DRahoR9u
1MDGlbw/9+mvxQ+d3D6LMB4v8Wcrp5rQmSYqfc5oU2BmmiS8TotupjD7Bq3dQ6zI
B1esEfhxeLN/W3WMFY+0RIBD2if6Cf5XG/Eh0VT8xR/nTk1Pxo9+sbjp0obpdnn2
n8Z9SWLlqZIKPnhzkqoEkNoiwyjXsDlVCf8dCbN/X5DepgQvtFlYJIyPH0P145F8
ydEkapjY8GCd5dMYEjse/dtVxvR44YDfvl8BXLA1qeAH5k9L2vbFE1hFANp4fVhE
k4VkCg9z3MMGKVicPcWIQ7oUvR540ChLfHKq0dlbxoBy4tCF4qvJq+V+YuuL1AQf
pjXYOtTWtOtRRNFiJbrLgupA2QOSJVklNeIh/yxcQnww+FamnFkHci8Dxmdrct0G
xkv8FywssNf+UBGHYYJjq+xb+UQSv1P0P3m7wSpOaFITfsBRnYbK1NHz5R8jCJ7N
KcC+7p82xRqz6nMoRB8HvH5b/nHZaZ5DsSv7E0mWhwdWzddPsvg1hflBNhRlg24K
aU/oezvKeUoOXFMHOx+4wamEnVLM7u6TC8j/AY1H55Ekbg9TgUw=
=gKMr
-----END PGP SIGNATURE-----