#1083408 gavodachs: (build-)depends on deprecated module python3-pkg-resources

#1083408#5
Date:
2024-10-04 09:42:28 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.

#1083408#12
Date:
2025-10-29 17:00:19 UTC
From:
To:
The gavodachs package still uses the pkg_resources module.

Raising the severity of this issue. At the end of the
year 2025, raising the severity again to serious.

If the package is a namespace package, then please lower
the severity again to normal.

#1083408#19
Date:
2025-10-30 13:15:20 UTC
From:
To:
Control: severity -1 normal

It is indeed a namespace package.

I tried porting away from pkg_resources a while ago and was somewhat
discouraged by the size of the blast radius.  Pointers to minimally
invasive alternatives would be much appreciated.

#1083408#28
Date:
2026-09-11 11:19:26 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gavodachs, 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 1083408@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 gavodachs 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: Fri, 11 Sep 2026 12:36:38 +0200
Source: gavodachs
Architecture: source
Version: 2.13+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Astronomy Team <debian-astro-maintainers@lists.alioth.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1083408
Changes:
 gavodachs (2.13+dfsg-2) unstable; urgency=medium
 .
   * Team upload.
   * Vendor pkg_resources.py (Closes: #1083408)
Checksums-Sha1:
 16b7fb300b6bb61a180526ca42d2982a6b5c91b1 2412 gavodachs_2.13+dfsg-2.dsc
 d48b090b88d20a8718d9de0c5cabc39517b1026f 39704 gavodachs_2.13+dfsg-2.debian.tar.xz
 3d64c9bfdf861e9cdd868325fea18d77ffa8894b 6667 gavodachs_2.13+dfsg-2_source.buildinfo
Checksums-Sha256:
 5b8d5659ba04026449a0ab0961a8b43f09952ea2901a24b6c04c2bb83c9a4471 2412 gavodachs_2.13+dfsg-2.dsc
 f164ed657a8fc6e2c342abf3a4dce78a0b4ca858978cb9177f7178da64b6cf03 39704 gavodachs_2.13+dfsg-2.debian.tar.xz
 f44609cbb720d1aece1c17d22730b0f50bbecc918c90e9807dce5afcaf94edee 6667 gavodachs_2.13+dfsg-2_source.buildinfo
Files:
 3b0df4655f6c2bada4e9fd1d56a77dd0 2412 python optional gavodachs_2.13+dfsg-2.dsc
 52c20657db6fe7bf24618326f3e5e354 39704 python optional gavodachs_2.13+dfsg-2.debian.tar.xz
 d0a9b33c47481bf20fb97c2fbf48235e 6667 python optional gavodachs_2.13+dfsg-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmqj3foRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBpzuA/+Pu5TGqayE2rSvIrDYk+bJnvUzmYiwTAH
gfFwodUdN9AmxU8Z0gNq+7GzuKr2cbJCQqAVoXKFdR6tamD0XQdHslO1uYkDMcP9
J31tGcGa6Opp2kgqKzqka1I5HHJy/s1C3nSzKeF7W0UhcYi1yBHimVntJq/h2fGY
+SLqBqbZhCO3TsmZcxrHMwT3rW8eW3vUEV30FP1edG/YCbAVMb4H2pvLD21rwJUh
f09mQ2BVlRC1ccCh7UO+Eu1d2rWZyhh1pbKyTOjtuXC9Rn5wEQzJDNi95f/9IkiF
YmiyHE6wLFxORTpsS2mmwFiW29OUB0VoYHqYbGiQ1o+qYOZ5lYz1K5I8b0GeC4V9
LD7KmhjNSmg7chKX50wgbgm0/fubL88CX2z2Lfhe8mccaWJX3sPPsOl7zNpbmtaD
pvVbcB4axMo7eEz10QPNTQknNTJA8M9scbWPPJ85SImcARgqZG4Gp5W9iYnnixly
vjtUGe4M1etypIcqWRYoIzAnn8W3KRnaZqgStd3gv7AajnwB8LYXrXq6eNwLFcb3
iv1uNNG1Ioy50KoWWWzWyz8xqpOvEA9yv4B+2uAxsjYA+O6xzVJ+SbWIkft/KjG5
fpXu+2A8zGdiPVrQhaNIq9jNkjj1qaeYynDMY7NL7MfH9FNtLiHZcD39rUoDhhTi
fAMOGmurhlY=
=WCu4
-----END PGP SIGNATURE-----