Debian Bug report logs - #1100257
pytest-mypy-plugins: FTBFS: pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'

version graph

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

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

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

Severity: serious

Tags: ftbfs, sid, trixie

Found in version pytest-mypy-plugins/3.2.0-1

Fixed in version pytest-mypy-plugins/3.2.0-2

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#1100257; Package src:pytest-mypy-plugins. (Wed, 12 Mar 2025 16:34:01 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:01 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: pytest-mypy-plugins: FTBFS: pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'
Date: Wed, 12 Mar 2025 16:32:18 +0000
Package: src:pytest-mypy-plugins
Version: 3.2.0-1
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 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --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  
* 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  
dh_auto_build: error: pybuild --build -i python{version} -p 3.13 returned exit code 13
make: *** [debian/rules:7: 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:pytest-mypy-plugins, 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. (Thu, 13 Mar 2025 11:57:02 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Thu, 13 Mar 2025 11:57:02 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1100257-close@bugs.debian.org
Subject: Bug#1100257: fixed in pytest-mypy-plugins 3.2.0-2
Date: Thu, 13 Mar 2025 11:52:51 +0000
[Message part 1 (text/plain, inline)]
Source: pytest-mypy-plugins
Source-Version: 3.2.0-2
Done: Colin Watson <cjwatson@debian.org>

We believe that the bug you reported is fixed in the latest version of
pytest-mypy-plugins, 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 1100257@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 pytest-mypy-plugins 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: Thu, 13 Mar 2025 10:45:30 +0000
Source: pytest-mypy-plugins
Architecture: source
Version: 3.2.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1100257
Changes:
 pytest-mypy-plugins (3.2.0-2) unstable; urgency=medium
 .
   * Team upload.
   * Build-depend on python3-setuptools (closes: #1100257).
Checksums-Sha1:
 bf04ea8305444a0bcc0a93b73c9336c63ac4cd61 2480 pytest-mypy-plugins_3.2.0-2.dsc
 25a0e064aa0d2e04a14dd81b360c75e31cf64c98 2864 pytest-mypy-plugins_3.2.0-2.debian.tar.xz
Checksums-Sha256:
 92f5673beaf552757bceaa604a6c372595f7b4253e59f50283033ee1d865647f 2480 pytest-mypy-plugins_3.2.0-2.dsc
 515124b1473734d6069aeb34ae0049f52827da83af1fbe0c99261519ed3216f3 2864 pytest-mypy-plugins_3.2.0-2.debian.tar.xz
Files:
 3a0a2b7f8a0f359df0f25850a19ca890 2480 python optional pytest-mypy-plugins_3.2.0-2.dsc
 0aa7fcf29d31fcca6bdf45f6b3976de5 2864 python optional pytest-mypy-plugins_3.2.0-2.debian.tar.xz

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

iQIzBAEBCgAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAmfSt5wACgkQOTWH2X2G
UAv/RQ//SfHrEqWJow9UW+t1La0YoLOdQSZaSnDcSi0iL72+hlbezC+AujntBEyq
O0Z1e3h4OCWyvrn/5mOnqnAosG4cgnYC7mn7rSyMh7/pioKSFNP57esOUzuGgnrW
K4/4Svg7Y0kkSRsYYomuy4YNKEPPApM9UvaMbNeNFWJiB6NQK9FaVWnmEWidN1x1
Bu0GKVrGE4Q/164jl+/jZACAXctFmb2I4N9ZQqyKmEzyGmWq+OmsuMFCVMt/7B8P
wr5TE6dm+krQGtQpLqBK92id96Isf7CMm0rXxRXPJyPemRO7JtPqDtEmS8KOyeX3
R7rfStHh7XMUzaDQsfAHYk3Q1XYhxqLHnsJL28dB+B1a4BGKm7lz+xaDzZh+2zL/
weEdF+hiW/JYkchOwbqld9C0HajvVl5cq9SsDrrr+3e2hd6aAOL1oN4cdpQ1qkyx
8eWvh/m9AL0O5ji3R4dbAWvyF7Z4GyJEd7vhzqYCTXN1gykxvoWV3N8U0smxFEc7
iaHimsarJCtX1bxNSuAic1TyvJoDZblk765I9s+81A4q6+OrHli3vNkjzN+/7HcD
z83ngrkP81Bu6yezXHhPbcAdjaLpm7ZD/GncCh9ArashO1MpJDuh9kVXEc5Kag58
YZKAU3JNvTlDVTtSxiQkCD7RgIeWOjcI/kqdpQLqD4SFO9FR8BQ=
=EPHI
-----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:23:22 2025; Machine Name: buxtehude

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.