#1149489 sphinx-book-theme: FTBFS: pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'

#1149489#5
Date:
2026-09-29 23:07:05 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:sphinx-book-theme, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pyproject_hooks/_impl.py", line 399, in _call_hook
    raise BackendUnavailable(
    ...<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_sphinx-book-theme
dh_auto_build: error: pybuild --build -i python{version} -p 3.14 --parallel=1 returned exit code 13
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1149489#8
Date:
2026-09-30 13:15:52 UTC
From:
To:
Hello,

Bug #1149489 in sphinx-book-theme 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/sphinx-book-theme/-/commit/03dd6dbdd5a81086a112c6aab8705c90b30b0875
------------------------------------------------------------------------
Build-depend on python3-setuptools

Closes: #1149489
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1149489

#1149489#15
Date:
2026-09-30 13:35:11 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
sphinx-book-theme, 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 1149489@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated sphinx-book-theme 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 14:11:54 +0100
Source: sphinx-book-theme
Architecture: source
Version: 1.2.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1149489
Changes:
 sphinx-book-theme (1.2.0-2) unstable; urgency=medium
 .
   * Team upload.
   * Build-depend on python3-setuptools (Closes: #1149489)
Checksums-Sha1:
 4559dc5e6b51d43d5d489a41d6a75d095af16097 3664 sphinx-book-theme_1.2.0-2.dsc
 c08720243d25319ceee166a0926a2ba3a67eecf0 16440 sphinx-book-theme_1.2.0-2.debian.tar.xz
 6b7cd861f4c1562f0f3f5963017c4fed565d681d 635096 sphinx-book-theme_1.2.0-2.git.tar.xz
 dc2f495c5f4626e5e48501ad7c8ff208e8f026d6 17764 sphinx-book-theme_1.2.0-2_source.buildinfo
Checksums-Sha256:
 e41fa43f983a9d1ef3ab3b725f2db6deb0cd5cd0bd09e501d804af2e5a41759d 3664 sphinx-book-theme_1.2.0-2.dsc
 79f653c0e8447f1d311f2d28aada5b0e90a7b9764dd0b9eb6ab3cf536154bb17 16440 sphinx-book-theme_1.2.0-2.debian.tar.xz
 d18043c02bcc7995f3355fd9de596862acae75f8c38a679248f96b39688589ca 635096 sphinx-book-theme_1.2.0-2.git.tar.xz
 651257b1f6cae7678b72f52514066bd9d42fb283204aea43278280006875d889 17764 sphinx-book-theme_1.2.0-2_source.buildinfo
Files:
 69fee61e735d8a8bc013ee4c53585a1c 3664 python optional sphinx-book-theme_1.2.0-2.dsc
 d4afbd6a6debdaa0e4d0440944720b23 16440 python optional sphinx-book-theme_1.2.0-2.debian.tar.xz
 f1f34e02f1d914de0d2149c66cef48a8 635096 python None sphinx-book-theme_1.2.0-2.git.tar.xz
 fb8857531dfe76394ebeaeab9f7ab92d 17764 python optional sphinx-book-theme_1.2.0-2_source.buildinfo
Git-Tag-Info: tag=2ae3b96a004477f4c7ddb8c6525d1c10502b3fd5 fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <cjwatson@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmq9C+cACgkQYG0ITkaD
wHlGVg//ZXcB2kmEBajdTlFPKlBR2nnmB+Y9arGqQuApV2nGJVg82tZbaK2wbI8O
vvw1/jQl+s6sChvbn1hFMOAZP7O6buPFDtZQHfMDytR3ChClVMNJ5DxgisbzSOiz
VQ3uRD02gg008FWqsnn1gmMC3tb+dwcx2U6475El5aCWqlk9NFn0hjklowGnS8FI
DiPa9rCKbD6OrhofIoUix+6fktiPCRYTpXPXj0K/o3wsvfO0Zm9g7hes+bzj9cLA
fARr9OuVCtaeeXJduM/80glAymgrgYWMKiEfXDLxYfsBKI4phNPfdHY38k7WFHWf
tQlJyVzDiyKK6nSZL8ToFtcleJb3XtUbI0LqfJW5rsM2kLnrMMys+FUkMq+NW2Z4
qV6h6h4HThiWO8eu1jG9VHx7jV9jEc3N86TeExcV7on7/tavNcckKyIbBZgOsf6I
mY+11vOnpqDWJmyr5CnxcuJ8E1rSOcFDEa8bWb7JVtGV5LABcOCs6xnUoW3O6nhI
DEBByDpngQMSAWeQm0tbaFbLLRqbh5bSra7tEXFOZE7Ef5DcMVCb/alMSn1HsfpM
WGeG5r5BkfeKpb8AdrlKQryoOYp84S5jtQ5x/MQdRXFzg7RxSLY+hoQ9AMvQz8Fb
fLz554pMZbCf86O/xH1hs19Dlqz1ITEAoVIYb9yOEJSZz3dapMM=
=Q7nL
-----END PGP SIGNATURE-----