Debian Bug report logs - #1100288
python-sqlite-migrate: FTBFS: pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'

version graph

Package: src:python-sqlite-migrate; Maintainer for src:python-sqlite-migrate is Debian Python Team <team+python@tracker.debian.org>;

Reported by: Santiago Vila <sanvila@debian.org>

Date: Wed, 12 Mar 2025 16:34:28 UTC

Severity: serious

Tags: ftbfs, sid, trixie

Found in version python-sqlite-migrate/0.1~beta0-2

Fixed in version python-sqlite-migrate/0.1~beta0-3

Done: Colin Watson <cjwatson@debian.org>

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, sanvila@debian.org, Debian Python Team <team+python@tracker.debian.org>:
Bug#1100288; Package src:python-sqlite-migrate. (Wed, 12 Mar 2025 16:34:28 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@debian.org>:
New Bug report received and forwarded. Copy sent to sanvila@debian.org, Debian Python Team <team+python@tracker.debian.org>. (Wed, 12 Mar 2025 16:34:28 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: python-sqlite-migrate: FTBFS: pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'
Date: Wed, 12 Mar 2025 16:33:24 +0000
Package: src:python-sqlite-migrate
Version: 0.1~beta0-2
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sqlite_migrate  
* Building wheel...

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pyproject_hooks/_impl.py", line 402, in _call_hook
    raise BackendUnavailable(
    ...<4 lines>...
    )
pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'

ERROR Backend 'setuptools.build_meta:__legacy__' is not available.
E: pybuild pybuild:389: build: plugin pyproject failed with: exit code=1: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sqlite_migrate  
dh_auto_build: error: pybuild --build -i python{version} -p 3.13 returned exit code 13
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202503/

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

Thanks.



Reply sent to Colin Watson <cjwatson@debian.org>:
You have taken responsibility. (Sun, 16 Mar 2025 15:03:03 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Sun, 16 Mar 2025 15:03:03 GMT) (full text, mbox, link).


Message #10 received at 1100288-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1100288-close@bugs.debian.org
Subject: Bug#1100288: fixed in python-sqlite-migrate 0.1~beta0-3
Date: Sun, 16 Mar 2025 14:59:33 +0000
[Message part 1 (text/plain, inline)]
Source: python-sqlite-migrate
Source-Version: 0.1~beta0-3
Done: Colin Watson <cjwatson@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-sqlite-migrate, 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 1100288@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 python-sqlite-migrate 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 16 Mar 2025 13:35:21 +0000
Source: python-sqlite-migrate
Architecture: source
Version: 0.1~beta0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1100288
Changes:
 python-sqlite-migrate (0.1~beta0-3) unstable; urgency=medium
 .
   * Team upload.
   * Build-depend on python3-setuptools (closes: #1100288).
   * Build-depend on python3-pytest so that tests are run.
Checksums-Sha1:
 dca1ce55fd341758880a66c0af19fb264e6d85ef 2359 python-sqlite-migrate_0.1~beta0-3.dsc
 dcf74b6ea480d779f4412a97d7739d6f0182455d 1876 python-sqlite-migrate_0.1~beta0-3.debian.tar.xz
Checksums-Sha256:
 e368be5ca72d03fd758131f05d152c285d73e2204e6441156d2b9a017dbb1925 2359 python-sqlite-migrate_0.1~beta0-3.dsc
 efdf3e87098abb805faa044059dbdd83226dd57ab1c42804057804519da17353 1876 python-sqlite-migrate_0.1~beta0-3.debian.tar.xz
Files:
 3f026cd70b2f834b2d4287dd022f3a0e 2359 python optional python-sqlite-migrate_0.1~beta0-3.dsc
 582dcc8f1e9eb85d23fd4215cb632b64 1876 python optional python-sqlite-migrate_0.1~beta0-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmfW09UACgkQOTWH2X2G
UAuDZw/7B6Ocmqdky0ql7SSEVsgALSnod68hBH48KzyX5mSSLwhbfM+NXbuCS3C+
/GgoRFRT3SO+3/2+fytRUrZMSKbNDRM1NdKB/PFE+0s9jzm2SCrO4X3LxTJZmpRC
VaYV0IhoMT40Dat7VuEWa8QxNFgjvzWyNan8ipNM287f13w1td9467e7XyzKR35a
BmUO4w0BdHcJP+k78UNIdDy06m/3VXw0OyGrp4xh54oaMH/rsbiFv3V8LORzEyxn
c4vt6ZsUjIdi2BIARzDG8M9iMlBaogaiWmh4pEZkPqAOMVuXWvzufQhJHQSivwpg
L6q2LaZsjdwYvLOgux2q9nuQRVlgs6S1n9JROfxEJGf8j/83ooM+cg8sJ8cACz0c
ox4Riqqu36/0PqkSMNWnBrv8Kzqdd7OFUywoHcVdo99YgzDBYPtbJTnmZqWhgt5H
mM4zAjm6rlLb6z/OdG5vJzwa0Aqw8Yd+d6YDgDO0jJD/3YiXbgyeoGroLtw4GADv
n9k5hNNE+gB+P9+jyCjafuUx6ouYZ4F4UryI3ueuDNZZamDauzSdGWy07YSwWdt8
I0zXp1BCIvyqBvjO0ALT2NIKasNgAL3++Gt4/hfjAKG1aUyE5Lkq0536zA8SpTdb
4fKwzmbUqjbpbbA/7SLxS64fbVkzC7bdVvVUNdNFj/z8G8xqoVA=
=ZVe2
-----END PGP SIGNATURE-----

[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 9 10:21:39 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.