Hi,
Please don't hide the usage of python3-pkg-resources behind
an automatic python3-setuptools dependency; this is not a long term solution;
that was not the intent behind the (original) Mass Bug Filling.
Greetings
Alexandre
/tmp/deluge-2.2.1~dev0+20250824$ grep pkg.res -r
debian/changelog: * No changes required for removal of
python3-pkg-resources, just a new upload is enough
deluge/ui/ui_entry.py:import pkg_resources
deluge/ui/ui_entry.py: for entrypoint in
pkg_resources.iter_entry_points('deluge.ui'):
deluge/scripts/create_plugin.py:from pkg_resources import resource_filename
deluge/pluginmanagerbase.py:import pkg_resources
deluge/pluginmanagerbase.py:
pkg_resources.working_set.add_entry(dirname)
deluge/pluginmanagerbase.py: self.pkg_env = pkg_resources.Environment(
Le lun. 26 janv. 2026 à 19:00, Debian Bug Tracking System
<[email protected]> a écrit :
>
> This is an automatic notification regarding your Bug report
> which was filed against the deluge-common package:
>
> #1125831: deluge-common: (build-)depends on deprecated module
> python3-pkg-resources
>
> It has been closed by Debian FTP Masters <[email protected]>
> (reply to Daniel Baumann <[email protected]>).
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Debian FTP Masters
> <[email protected]> (reply to Daniel Baumann
> <[email protected]>) by
> replying to this email.
>
>
> --
> 1125831: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1125831
> Debian Bug Tracking System
> Contact [email protected] with problems
>
>
>
> ---------- Forwarded message ----------
> From: Debian FTP Masters <[email protected]>
> To: [email protected]
> Cc:
> Bcc:
> Date: Mon, 26 Jan 2026 09:48:39 +0000
> Subject: Bug#1125831: fixed in deluge 2.2.1~dev0+20250824-2
> Source: deluge
> Source-Version: 2.2.1~dev0+20250824-2
> Done: Daniel Baumann <[email protected]>
>
> ---------- Forwarded message ----------
> From: [email protected]
> To: [email protected]
> Cc:
> Bcc:
> Date: Sun, 18 Jan 2026 13:45:39 +0100
> Subject: deluge-common: (build-)depends on deprecated module
> python3-pkg-resources
> Package: deluge-common
> Severity: serious
> Tags: sid forky
> User: [email protected]
> Usertags: pkg-resources-deprecation
>
> [This bug is targeted to the upcoming forky 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
> and 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.13 in unstable provides both importlib.resources and
> importlib.metadata, so no additional dependencies on those packages
> are needed.
>
> If the package is a namespace package, then please lower the severity
> again to normal.