#1149470 python-testbook: FTBFS: ERROR Backend 'setuptools.build_meta:__legacy__' is not available.

#1149470#5
Date:
2026-09-29 23:06:28 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/202609/

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-testbook, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
    ...<4 lines>...
    )
pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'

TIP pass --env-dir and --sdist-extract-dir to keep the build environment and sources, then see https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build for help debugging a failed build
ERROR Backend 'setuptools.build_meta:__legacy__' is not available.
E: pybuild pybuild:485: build: plugin pyproject failed with: exit code=1: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14
dh_auto_build: error: pybuild --build -i python{version} -p 3.14 --parallel=1 returned exit code 13
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1149470#10
Date:
2026-09-30 13:50:11 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-testbook, 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 1149470@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-testbook 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, 30 Sep 2026 15:21:32 +0200
Source: python-testbook
Architecture: source
Version: 0.4.2-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1149470
Changes:
 python-testbook (0.4.2-5) unstable; urgency=medium
 .
   * Team upload.
   * Add build-dep on python3-setuptools (Closes: #1149470)
   * Add debian/salsa-ci.yml
   * Rewrite d/watch in v5 format
   * Bump Standards-Version 4.7.4, drop Priority: tag
Checksums-Sha1:
 8d10ce841e3956123c72c604c2eb0819d1ffae0d 2686 python-testbook_0.4.2-5.dsc
 eb18f7c70f0b9c3853864c1e160f4d647e990a9c 4456 python-testbook_0.4.2-5.debian.tar.xz
 5f0024062e5271aa2bb7a4282cc6d40277d3ae55 6494 python-testbook_0.4.2-5_source.buildinfo
Checksums-Sha256:
 7e9b58b188f1171a43062cc45c6194e1a7f5ed3f8348acfb99bf30d52e0a8422 2686 python-testbook_0.4.2-5.dsc
 f948333df11ab875de3f2831b3182c3c1622fa104af733fca24c24a2eba18416 4456 python-testbook_0.4.2-5.debian.tar.xz
 dc0c5bf0f466089c0f69c4af512951113cac2482cd0c2ad406a44996f5a1c160 6494 python-testbook_0.4.2-5_source.buildinfo
Files:
 3503f1b429ce30412b927e85a65ffd9b 2686 python optional python-testbook_0.4.2-5.dsc
 13466065625b3c245d1183d495fcfdc3 4456 python optional python-testbook_0.4.2-5.debian.tar.xz
 d9a0ddfbf117156a07a5c66e3bc4b894 6494 python optional python-testbook_0.4.2-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmq9DP4RHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBpn1g/+LUnIZ1MZNqYh6GW1AENhhWl2vlPIsyqg
ykFKejdR1MRDbtgGBqrCdlrV4YOeTJMXywFuVJYT+q3CnlHXGT9FrwdOoy4tJ5k4
n13h7/z3wbHhd9S7DTbng2fmT74akIkbe5mLZC3AaEgHWarQIBDvuF0bm+Qr5bWc
3cM/JxA9rRHnXnouQtpzrDhgRmCmBJYSSZW7lemO+DvcHd/jmj5c821dzNkTB5DP
PQCYn+VVCesh8dIXLe150MaE+Sr5S9jrYgWwsRgsVIV0iWJdPyIC06BI0OPyI1rP
xFm++YNh+QGEp2PaAdQxZTaVBkj2kNU6hJFTUek1hhbhoGbydCUsC66spNSS8Krw
LtW+NKnSvyqn33gLq9WLxPKAQaCmtHUpK0nmCcAKqMibUTB7dY3x3eTg2vV9qoE+
lS2qk5i90bZsa2esz0yjtV3iMK0UGujFgw5XxfLlCo5UEt0Yx4UCPKImWyw6VmD4
t6IFKUK4DMtuC/xfwSoAjt9J74Ghyeg40GIrQfZWbcqI3m00Oupbn/tMMq0HF1s5
68PV9ZLACDwH5zMHT7fkRRBwa3uBNVLqQUHFtPUXOR81t/HcnwJlKFG4fE03y9T4
qQrYjVN38oNWxI2DbZtYsgInxtyVwfzc597Rgz9bheZa2nv1YJOt2M5B4aIC707Y
tZHS5GnoAtU=
=+wXU
-----END PGP SIGNATURE-----