#1147804 python-repoze.tm2: FTBFS: ModuleNotFoundError: No module named 'pkg_resources'

#1147804#5
Date:
2026-09-15 10: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/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-repoze.tm2, so that this is still
visible in the BTS web page for this package.

Thanks.
---------------------------------------------------------------------- Ran 1 test in 0.000s FAILED (errors=1) E: pybuild pybuild:485: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m unittest discover -v dh_auto_test: error: pybuild --test -i python{version} -p 3.14 --parallel=2 returned exit code 13 make: *** [debian/rules:16: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
#1147804#10
Date:
2026-09-22 18:05:25 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-repoze.tm2, 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 1147804@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-repoze.tm2 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: Tue, 22 Sep 2026 18:46:34 +0100
Source: python-repoze.tm2
Architecture: source
Version: 2.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1147804
Changes:
 python-repoze.tm2 (2.3-1) unstable; urgency=medium
 .
   * Team upload.
   * d/watch: Upgrade to v5 and use PyPI template.
   * New upstream release:
     - Drop use of pkg_resources (closes: #1147804).
Checksums-Sha1:
 4ce1c351c3eb2099dc53a3ee152c5973d815af82 2517 python-repoze.tm2_2.3-1.dsc
 97bd0055303841f810650729418bce14ac2833d8 25617 python-repoze.tm2_2.3.orig.tar.gz
 cf0112ac16c8e4bfe8545ff3b9bc69b14d7418c2 3968 python-repoze.tm2_2.3-1.debian.tar.xz
 5e41f0c43a1475b6bab9ef2c386444dfdd71d080 61904 python-repoze.tm2_2.3-1.git.tar.xz
 82fa4fe46f3d55c573d203af57279a02044859e7 17754 python-repoze.tm2_2.3-1_source.buildinfo
Checksums-Sha256:
 e8f64c0fd2cb39eaa04fee26dd7a1371e826016aafdae78495033df559a462b8 2517 python-repoze.tm2_2.3-1.dsc
 662fb67900910a6cac6e0f437245a244af09f19ea0e3ba49446a2f98861e1e01 25617 python-repoze.tm2_2.3.orig.tar.gz
 62afa2b4d0b70cd1fdab7d71299d2aabf23ee685a7b729a3a65cf838f512e204 3968 python-repoze.tm2_2.3-1.debian.tar.xz
 b67a884ccccf5353eac436b4c9ca57480867adcaed8ea2f48b2c5a008843248a 61904 python-repoze.tm2_2.3-1.git.tar.xz
 b5087e3a6fc73f05d011541237d495c24ce401ab6b2e9a6299f50c275a108500 17754 python-repoze.tm2_2.3-1_source.buildinfo
Files:
 8384db8dc4a26b135069ba205986fe42 2517 python optional python-repoze.tm2_2.3-1.dsc
 ba695e68f06302cef86eaf8da063ecef 25617 python optional python-repoze.tm2_2.3.orig.tar.gz
 ee93ce463c081bd724c9baddda0eb13a 3968 python optional python-repoze.tm2_2.3-1.debian.tar.xz
 ae1e48205ce7d341f7b80b031713f8a9 61904 python optional python-repoze.tm2_2.3-1.git.tar.xz
 360ca291634cc20d10b28aec0851147a 17754 python optional python-repoze.tm2_2.3-1_source.buildinfo
Git-Tag-Info: tag=95f9cb0d86f2d7852cf13778eba3537ada13a8ea fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <cjwatson@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqyv34ACgkQYG0ITkaD
wHnqdRAAs2Odwp1l6JQ7LYSLNcSaxGBsg9SfeL0xAScmabUxA5e4gGfwIRfbTyr4
/cB0m1SLiu2l2uRZSbR6ieJ4jdna9EAKcWPJejs+aKq1iHqUl0o7NvcEPFJCrJYt
erurasx93fJIM5rjmZwLnbrh3zrRNGFcia+u6tvvhY1judLVeu3ARqhUoqwOjhNc
31Qjp0qdNzm33BZTW44cp7BCCHFkgy4v2VgvGutXda+fC7TBZmQzMI0Cy4nIRdvO
7GLCc7bECcY24OADiHRt25iqrbigE3X03iX/ZgcIrAH8ljVcbD+FMOtjY5zf/6tJ
9n0j+mAnLwTT+V58ZvI+j0WCBYx+OiaYZF3a8e1AlIG9tFlHJD/q8ppm/sxL1Xws
g8TVa0tH0LU6N0ZqtbFsz7wiaWeVEKsxlc7DaeSt5ZoPCC0eTtLG43YpK8Q7dt48
5OSEPi1GB1gE5F5ZbrSD4sZqO27OsQSKGo77diuzyBlHlaPZ4oL8IaFtwuFp85Wo
O8UnV1NVfWOAKSac/NdDuunxTD4R0x3VYirq9eq0PYqcXYXOa+oNXQR63mPfyZYG
tMBHD3BbzKMVn0sC3NMhhPbRkSI/OdMiJR2f+bo4L0jKAKZe8zcvbbO3vZBPnUZf
4Ku+FbayiXro2nQAF69k4acypbIZERBVZ4DzA/D/Jf+5L77jNco=
=rxkT
-----END PGP SIGNATURE-----