#1083401 flufl.testing: (build-)depends on deprecated module python3-pkg-resources

#1083401#5
Date:
2024-10-04 09:42:19 UTC
From:
To:
[This bug is targeted to the upcoming trixie release]

The package build-depends or depends on python3-pkg-resources, which is
deprecated upstream. Details can be found at

https://setuptools.pypa.io/en/latest/pkg_resources.html

Use of pkg_resources is deprecated in favor of importlib.resources,
importlib.metadata and their backports (importlib_resources, importlib_metadata).
Some useful APIs are also provided by packaging (e.g. requirements and version
parsing). Users should refrain from new usage of pkg_resources and should work
to port to importlib-based solutions.

Python 3.12 in unstable provides both importlib_resources and
importlib_metadata, so no additional dependencies on those packages are needed.

#1083401#20
Date:
2026-09-15 16:04:33 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
flufl.testing, 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 1083401@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dale Richards <dale@dalerichards.net> (supplier of updated flufl.testing 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, 15 Sep 2026 15:38:21 +0000
Source: flufl.testing
Built-For-Profiles: noudeb
Architecture: source
Version: 0.8-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Dale Richards <dale@dalerichards.net>
Closes: 1083401
Changes:
 flufl.testing (0.8-3) unstable; urgency=medium
 .
   * d/control: Drop the obsolete dependency on python3-pkg-resources.
     Nothing in the package imports pkg_resources: the only use was the
     flufl/__init__.py namespace stub, which dh_python3 strips in favour
     of a PEP 420 native namespace package. (Closes: #1083401)
   * d/control: Bump Standards-Version to 4.7.4, no further changes
     needed.
   * d/control: Drop Priority and Rules-Requires-Root, both now dpkg
     defaults.
   * d/watch: Convert to version 5, using the Pypi template.
   * d/gbp.conf: Add.
   * d/salsa-ci.yml: Add, disabling the arch-any, arch-all and blhc jobs,
     none of which apply to an Architecture: all pure Python package.
   * d/copyright: Correct the upstream copyright years to 2013-2018 per
     LICENSE.txt, and point Source at the canonical https PyPI URL.
   * d/control: Bump debhelper-compat to 14.
   * d/rules: Pass --without single-binary. pybuild installs into the
     binary package directly, so the compat 14 fallback is not needed;
     this also silences the deprecation warning and is already correct
     for compat 15.
   * d/control: Add myself to Uploaders.
Checksums-Sha1:
 0ffc5ec52d31ec0d6ebb441560110276b648a89c 2053 flufl.testing_0.8-3.dsc
 46f29615d568c4c18234cad5dae7b64c7a9b2aa6 3184 flufl.testing_0.8-3.debian.tar.xz
 4d95eeab30f400e40c72613f6df1d9b02ae6bdee 7814 flufl.testing_0.8-3_source.buildinfo
Checksums-Sha256:
 f80ec346fd2bfe10ef2fa1a9e8468d046f2b78f9d868c970768543c6df04d52f 2053 flufl.testing_0.8-3.dsc
 95c019a86ef78c655ca4701c0fa1eaf6ca000d6d53d2d40f1af4fe9898ee930d 3184 flufl.testing_0.8-3.debian.tar.xz
 42f05465cd876fa3b94939b6f2651f09547baf3f59cdbd61b9ee1b281a359969 7814 flufl.testing_0.8-3_source.buildinfo
Files:
 59bf520396e596d36cad00acb0b9d2f3 2053 python - flufl.testing_0.8-3.dsc
 b8fdf3408c280fa5d3922e1c3a5f8d7f 3184 python - flufl.testing_0.8-3.debian.tar.xz
 9df9ba320b9c1c0a556920019acf5937 7814 python - flufl.testing_0.8-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmqpZnsACgkQQoMEoXSN
zHrehBAAnAe7hgq1UYeQFngMxkfj8hAkSS1kV5/9aVSvpOJGd5fVaFcwHeikPMqJ
oPlNsiCeXlIh1+CNIEOyyi1TVKQ1ejKL0Lixe2NChdsK4L3SRCZCEWBBpecTO+N8
bMfv8lot4T8ofRb5APLZ5g9c88rMJk2NuoIgJbTbGHcnFOrdaD2GmZhbo6x0L5Vm
+ePVNoQG9+EMpTCu0h91dzc8d1U2rYlyOQRyWnzGHtU2bVhyO74uL/Kng5pKMzz2
xvdnPo+iUZuT57XdS64YsHpW5BgcbFLGOqobk/yTsNroWP47VXS09/scgvlO/A/B
slPl672VSAbSN3Bk3UlH43j3ENw8MnRAxpKnKqtCCyMYDYC+o4FCzD1sfr1oHekI
KE/6z3xt1Ag5sDg0HM6dU+xGIJAeWL11NTMzC30+Hx1SftAgKl3K93fXHQlsD7NR
wNQGN1NL66uau0aHpOLXGs6RJMQg7oOAQJVfu+QLWzcAcSTKh33NXJV/VkJ2KLId
XAiKSWGN0SZCsjwqjHIlWZWP+uAPZxNZCiIRp3rHVvtuzZytDfoCi3oQSHFHPRey
Svq9ZSGaltImyCNFuE268xDq5NHlNUeNCZOzX85qZrsBHo6LOxuucsCTbRlVTH0m
Xs4+sqswwIBZrb2ItULmSpR3ghFpmJmUXvBleW/OCQO8Mz8VefI=
=BAEl
-----END PGP SIGNATURE-----