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

#1151729#5
Date:
2026-10-23 12:20:46 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-fedora, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_installchangelogs NEWS
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installman -O--buildsystem=pybuild
   dh_python3 -O--buildsystem=pybuild
E: dh_python3 fs:312: python3-fedora 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:6: binary] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1151729#10
Date:
2026-10-26 10:05:12 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-fedora, 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 1151729@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-fedora 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: Mon, 26 Oct 2026 20:27:16 +1100
Source: python-fedora
Architecture: source
Version: 1.1.1-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Stuart Prescott <stuart@debian.org>
Closes: 1151729
Changes:
 python-fedora (1.1.1-8) unstable; urgency=medium
 .
   * Team upload.
   * Keep the 'tests' directory out of the wheel to fix FTBF with recent
     dh-python (Closes: #1151729).
   * Switch to autopkgtest-pkg-pybuild.
Checksums-Sha1:
 c8742a4b8b4d0708fb7dd6087a06527b1e9db3e1 2605 python-fedora_1.1.1-8.dsc
 f6a9a9c21493bd5cfbe9659f87cdafded59e1af0 7228 python-fedora_1.1.1-8.debian.tar.xz
 ef9a47762521afd45e7482cd6a37562e84426e5d 314324 python-fedora_1.1.1-8.git.tar.xz
 c6a907d024883e6e4d4a2faa10475f65d7b887aa 17756 python-fedora_1.1.1-8_source.buildinfo
Checksums-Sha256:
 18dc8251edc49299f56c45bc917a5b9899bf129964836604d5d879e4687d4d77 2605 python-fedora_1.1.1-8.dsc
 0f2c7dfbd0fc5deac750a641f33be0d8c8ba3360852d178904b6887009cf13ff 7228 python-fedora_1.1.1-8.debian.tar.xz
 7d77bdd505ce1e7840ed8d56019b229f34fc05023e499677fcb084de648020b0 314324 python-fedora_1.1.1-8.git.tar.xz
 3a918647fc75f4ed0dd391efe12a2b24b3374b6fd76e79f60053937d79a68288 17756 python-fedora_1.1.1-8_source.buildinfo
Files:
 a89656d75616d8a3ee8eb11b7e892a5e 2605 python optional python-fedora_1.1.1-8.dsc
 99716d1bffb5446f420e16f301d5aca3 7228 python optional python-fedora_1.1.1-8.debian.tar.xz
 02dc88032f7f620c4c2a8fdf9c1a342b 314324 python None python-fedora_1.1.1-8.git.tar.xz
 3d2468b80a184846f284b4299137ff9f 17756 python optional python-fedora_1.1.1-8_source.buildinfo
Git-Tag-Info: tag=02bc033b0949090c7f5a40b422a5f108da5845c4 fp=90e2d2c1ad146a1b7ebb891dbbc17ebb1396f2f7
Git-Tag-Tagger: Stuart Prescott <stuart@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrfIN8ACgkQYG0ITkaD
wHmmYxAA3bM46YKKvw8qlQUgovDCP8ZXV1rhpytWsSNwnT1PyLbt/PSnK2jU+cnp
x56As/t7Ij9sunT4UFtGpqA25PdzPdA/3Zu1ag+aY/f4OHKFwjloflyScTFr6oDs
CxpiR51cKpDxXXtWHaOVKY7zhCxTYPQGtXYlXSPUTX5k6RF4YlFa/Xucu5Oeaqcb
MP9HIf4/i6kf6gxJVowxYrrljBaPdr5CtlbOMWJoJoPnW1V0Y8+XlAiXKdxbYmTx
xj8PNE+eB9N8vNMfxZGrwnO3J3ZO0MAtwW45PoxPI7ndM/Pd8eBw6qeTpZE5Rx0x
itt7OHZgI5lwlk0doz5Qu7kWwIp0MDVQa8nPXymMoB5zAcEDrx+bfSckcRsyF+/i
GNG0EAoG/noRfLwDtQVXEv3jNl0KkROlp9zod3jtecLbSJPByTCVh/oWHGNhoivG
bepiVG82Kv5D0Qh13BKPS7ZpYz/2wzuTETBNXfSBkBhk/NC7f4izKnq9eIMkDtcd
AUohuaLT4xVUcys/Lq7So/TllriqmetwG0z91j/aCuw+XjcUrLdfnB1zQiZ9yEua
rHKAxqHJ8tx95d0cVtN3QE/rL+udJ/xqmgOkBEGu0IPc1LQrkMmGuPKBD/f/5UYd
+27K5zEBYU0jINrigtWK/dZW2rmRTdtmwe1f0eqb9p857yQORJQ=
=oLWW
-----END PGP SIGNATURE-----