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

#1151909#5
Date:
2026-10-24 11:31:38 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-aiohttp-security, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
   dh_installdocs -O--buildsystem=pybuild
dh_installdocs: warning: Cannot auto-detect main package for python-aiohttp-security-doc.  If the default is wrong, please use --doc-main-package or the X-Doc-Main-Package field
   dh_sphinxdoc -O--buildsystem=pybuild
   dh_installchangelogs -O--buildsystem=pybuild
   dh_python3 -O--buildsystem=pybuild
E: dh_python3 fs:312: python3-aiohttp-security 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
--------------------------------------------------------------------------------

#1151909#10
Date:
2026-10-25 15:34:35 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-aiohttp-security, 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 1151909@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Margarita Manterola <marga@debian.org> (supplier of updated python-aiohttp-security 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: Sun, 25 Oct 2026 16:02:38 +0100
Source: python-aiohttp-security
Architecture: source
Version: 0.5.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Margarita Manterola <marga@debian.org>
Closes: 1151909
Changes:
 python-aiohttp-security (0.5.0-4) unstable; urgency=medium
 .
   * Team upload.
   * Add patch to avoid installing the tests or demo directories
     (Closes: #1151909).
Checksums-Sha1:
 3337d0f40c91d63247bed8400d9577e518fa8756 2502 python-aiohttp-security_0.5.0-4.dsc
 e2222581e69a1ee69b2d08a2b711248a01a35fab 3820 python-aiohttp-security_0.5.0-4.debian.tar.xz
 041b9cccbd8a1a45bd6a5c20b30086da8f2d6c27 9117 python-aiohttp-security_0.5.0-4_amd64.buildinfo
Checksums-Sha256:
 c122fa663d93d049828db1392ce3d8885454e85b6a5ba52a076a8a9eff804a89 2502 python-aiohttp-security_0.5.0-4.dsc
 b810fa0582fec149c2dc4ab8c8cdbd2997fe40d7b020e4d77788d9c9b48c78d3 3820 python-aiohttp-security_0.5.0-4.debian.tar.xz
 10fa87cc209fb0e53d12e6caadfdff1f406162a9a5daaa2e82dd66729827ec4f 9117 python-aiohttp-security_0.5.0-4_amd64.buildinfo
Files:
 24438cbc224a2f9ba9a8adf81d4d8124 2502 python optional python-aiohttp-security_0.5.0-4.dsc
 6fc11ff118cc2d0d1de49952acd30afb 3820 python optional python-aiohttp-security_0.5.0-4.debian.tar.xz
 e31a2be210d7e219184dfc16c8e29f5f 9117 python optional python-aiohttp-security_0.5.0-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEAMPhhOivEnEYVt/SgNCkL/LIUMoFAmreHEIRHG1hcmdhQGRl
Ymlhbi5vcmcACgkQgNCkL/LIUMqgcw/9EvDYEFFhVxgCZtv1DlpDyb0gtVQap8Dw
I+olRERbOwy7rBxBlK4ya7XYWRAOUfhwXn+trpRHyOt44tfP+RqWqA3pz9j1o+5p
4KeHXFZKUjXQULLLWmMAtMgV5DYqdp9Un/z7+R14pqd0ap+oFb1HpdBDD6jKe0oH
JhbSygTSVqeA/VYNY6/q2ntUpq5dxC5JvB/0YVmOtueyqUqo9b84Qs4HkkSvylMk
ISti8U/r0WhmzP/NIuodSZWxwOT+OrNSHPz5QR7go/dzcAQKiTtCMu1DvxPUH9yJ
maz6YA8M56drT91txcKIXgRn1ZIfcFB2k5Wp8xgsXEhJSNbBz5RJQU48FplEGVzB
TKpMUr1XVnClOdRhNrpRqiCZmuDgJsDzjcBCUrMB2NxqymGT5A/U3OxmDjDRWtM1
O5f8U+bQa25gyh0/FSnSDhe4c8wY7PhbSZvl4WnpItIweHhY89V44vEB1w62bvff
WLW2/HOBJbcyYx0CUrJB3QkF4nwkhxKTDIbfP7xxRt56VnhQUDycwPg6mxYYY5qd
1cEz/LoVK/UHTLZ9e2WMK3BpHG9c0q9l3jBYcPVwvXjM9dWL/z6b+I/nyUulyL+O
72BF0DsgFSynqQS3NLr6RX6Hs1GcvgvDCoOP3uz0IaZB+0lTf0UhrZTbGh94KexP
dTYNhcJP5Fk=
=wWSz
-----END PGP SIGNATURE-----