#1147800 python-pangolearn: FTBFS: ModuleNotFoundError: No module named 'pkg_resources'

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

Thanks.
--------------------------------------------------------------------------------
[...]
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:385: python3.14 setup.py clean
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/setup.py", line 4, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
E: pybuild pybuild:485: clean: plugin distutils failed with: exit code=1: python3.14 setup.py clean
dh_auto_clean: error: pybuild --clean -i python{version} -p 3.14 --parallel=2 returned exit code 13
make: *** [debian/rules:8: clean] Error 25
dpkg-buildpackage: error: debian/rules clean subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1147800#8
Date:
2026-09-22 21:18:27 UTC
From:
To:
Hello,

Bug #1147800 in python-pangolearn 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/med-team/python-pangolearn/-/commit/aff4b2a0e72bce8a8bb157b3faa32dad57435e9b
------------------------------------------------------------------------
patch out loose "import pkg_resources" (Closes: #1147800)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1147800

#1147800#15
Date:
2026-09-22 21:49:06 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-pangolearn, 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 1147800@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-pangolearn 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 23:18:38 +0200
Source: python-pangolearn
Architecture: source
Version: 2022-07-09+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1147800
Changes:
 python-pangolearn (2022-07-09+dfsg-3) unstable; urgency=medium
 .
   * Team upload.
   * Patch out loose "import pkg_resources" (Closes: #1147800)
   * Use dh-sequence-python3
   * Drop "Rules-Requires-Root: no": it is the default now
   * Rewrite d/watch in v5 format
   * Remove redundant Priority: optional from source stanza.
   * Update standards version to 4.7.4, no changes needed.
   * Disable useless Salsa CI jobs
Checksums-Sha1:
 9e99ef5c024a2671a7b9b1f42b8cefbf246ab73a 2208 python-pangolearn_2022-07-09+dfsg-3.dsc
 ebe26fcde4dc277f05e80a16af8d858942721ec5 3220 python-pangolearn_2022-07-09+dfsg-3.debian.tar.xz
 e2d4215f1e937716e0c068c414c618a16771bbc6 6487 python-pangolearn_2022-07-09+dfsg-3_source.buildinfo
Checksums-Sha256:
 b0e893e9fce7a25654ead30924aab5389f619aefb9931f4709ca7f869b8efd96 2208 python-pangolearn_2022-07-09+dfsg-3.dsc
 904bff80c7950d2e74526ffd93083fb0865462cf2efae2e750369972146a23e6 3220 python-pangolearn_2022-07-09+dfsg-3.debian.tar.xz
 df705611736ccf4a282a9b2e3cceadc37fb034d4abf1fce20f61d5ede0a8b1d0 6487 python-pangolearn_2022-07-09+dfsg-3_source.buildinfo
Files:
 c4cb956523acb1d16438e3a81489dd87 2208 science optional python-pangolearn_2022-07-09+dfsg-3.dsc
 2d534d348e65dc23ab268d48b3feeae8 3220 science optional python-pangolearn_2022-07-09+dfsg-3.debian.tar.xz
 343330aab04aee7b298ddd0459858be7 6487 science optional python-pangolearn_2022-07-09+dfsg-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmqy8m8RHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBonQBAAlL4o48mV0scQyIjX/ahJ0QlhZGA70BVU
86zVjF7HRWsmBlCahDPBucrgxBgo9rhJjRMSJBfPNmckj/MAV3bWeYRUha+809in
nmlZYb/xBhKg1B3uv27jjpiEtQY1QQ4DwLa7CcjV5aE7ACfX0thDrSjWJz1VqIpV
/mrz3OrDlFpJtT3Siq/7kHfodrmVC7v6OnfmFc4HjCL9dckTDFeWne6PldMbAMKf
PwXZCZ/O6BRxb+FbJ1S475PRQb9R7wyxN6jcaWAgcJO8dYIxpGqDpNoBmVc6Sm2k
1ecpc3FCJToEdtwvetZ0vQxVMBnaYieBiHhzGxG2HcInByQxzWO/M0Fcyq7gln+4
qT9PzH+FRCdvPJs6+9McQlQ1q8LKpQPtPrj4Da6GM/qekIwDLn8gRZQ1RUvqfjCA
U+WUrJSBDRAqJ+Az7lieHuukChBaRQix0xMc+VZNkzf/tDMM6cTz7O04RLfcz98o
EWm5t8VTwgjPRIKdxQjOPVCBN8/Vo9dT7737EdOjAjYVMDJZsVpZmhH1p6s/pJEZ
BHu36fG8TBCR1DjfnFjzK13n2/VQVSxIIw6lIEHHsyvqyl+UV68L+DXdTGtfJv+H
ohWK4QorVzkm4mbDmQH7z7afDNhcKZUzkhtKPBrhSYEHG+HAZc1FX2t43hEKzMKZ
8UX8MJM24CE=
=vYKp
-----END PGP SIGNATURE-----