#1083562 pssh: (build-)depends on deprecated module python3-pkg-resources

#1083562#5
Date:
2024-10-04 09:45:07 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.

#1083562#12
Date:
2025-10-29 17:01:31 UTC
From:
To:
The pssh 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.

#1083562#19
Date:
2025-11-12 22:35:32 UTC
From:
To:
On 10/4/2024 11:45 AM, Matthias Klose wrote:

Hello Matthias,

Currently the Deps of python3-psshlib read:

Depends: python3-pkg-resources | python3 (>> 3.8), python3:any

So we do not break if python3-pkg-resources vanishes. Further that entry
is generated and a simply rebuild solves the issue. Tag pending, I'll
package the new version soon.

H.

#1083562#26
Date:
2025-11-13 08:49:25 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pssh, 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 1083562@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hilmar Preuße <hille42@debian.org> (supplier of updated pssh 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: Thu, 13 Nov 2025 09:30:27 +0100
Source: pssh
Architecture: source
Version: 2.3.6-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Hilmar Preuße <hille42@debian.org>
Closes: 1083562
Changes:
 pssh (2.3.6-1) unstable; urgency=medium
 .
   * New upstream version, disable obsolete patches.
     - Rebuilding the package removes Dep on python3-pkg-resources
       (Closes: #1083562).
   * Bump Standards version, no changes needed.
Checksums-Sha1:
 0ebc96d3ec3514b2f4683ec0075a27a4338d5a2c 2175 pssh_2.3.6-1.dsc
 1362533d2323a567ac912af126f3d6a30f4c5303 52295 pssh_2.3.6.orig.tar.gz
 1169227f60141b14505e231a3631dec982c05857 9280 pssh_2.3.6-1.debian.tar.xz
 64fdfac69b1a6be19f2a0c9c9fe7c04e45c787ad 5892 pssh_2.3.6-1_source.buildinfo
Checksums-Sha256:
 1e408fc600b0ff443014df80345f37183cc3109e0961a7693bd11a0f95448bc3 2175 pssh_2.3.6-1.dsc
 dfe1b898e483377213b44b8316a81fd6e1bbe427e1607e76be18366071c04c85 52295 pssh_2.3.6.orig.tar.gz
 a50d8e6876d8feed46e4fac1e41238e8c71954cb249728f581d5f28e932bf811 9280 pssh_2.3.6-1.debian.tar.xz
 992240bf33a387f9bcfdfd5d3663ce1218d3333d369fa8398f511d7df40345c5 5892 pssh_2.3.6-1_source.buildinfo
Files:
 d8385c457549a3d2eaba3e81caed60a0 2175 net optional pssh_2.3.6-1.dsc
 3b574a50663c0c39de7d788e32fc64b3 52295 net optional pssh_2.3.6.orig.tar.gz
 a15b6884c7b0e633dc22c8b39857f003 9280 net optional pssh_2.3.6-1.debian.tar.xz
 423cc440c7fed5c1561d203f54a195d1 5892 net optional pssh_2.3.6-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEaXGmC/nkbIhxf16kxiZYRqvgLIsFAmkVl1lfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDY5
NzFBNjBCRjlFNDZDODg3MTdGNUVBNEM2MjY1ODQ2QUJFMDJDOEIACgkQxiZYRqvg
LItgLw/9EJDJgk3t7+EAu35O+I1vgUZtssXNPsDbz4sbXWntTN7n5/E49NWdOzbv
u51SgaIY7lhxVoUcry7uoBbOiqoFTCP7K/wkY2u/y2iw/ScN2MF5hrcLHCze3WpC
kDHHT2RVmaoMCblkOeOYUNb0LQq2vF9vLlWyj1a7W3OssEQTXJ6jp+HHpjE3MaAe
3MWwc7Fcssp2e11chGdXl4+yJOsJ7X9Z6VUN86PCTZhq6VuE9ik9x1JSy8xrEKlV
VUr3PsGZF5O5erqwWdj0albKIMMpZ8VqSj0IMm95mNhnm3Xsi5EJ9wYV3nBhIMa9
PVAMHAX5x1Ib/4DwChGrse+oYA+DyEDXOMpZyCwsDgOHfjcHeIu/j82Wt60QMjV2
BCdFCvnUK2i9LrkVy6wUXthH79f40DW6h4B9NWrnnone3Ah6rGi3tObBHezW3o7y
Z875VmKNe8rvau5p6lQmys7QVgp7Vd28wnzozpBU9fyYif/9+4Zbowa0oaIn08GJ
Ab9mLfRz9c+QPEf9V0tCYBQmzPBzg+kin98hL8Nz1KOmu+2kVAxiZshB/1EAQXwB
AC70kTqWAAtkLTbk41qKrZFBLGIG8EPhb6vT2M45iftvUxdvb6fzmY01T6OhUqtR
lRg5Ng8/5r4NfmU+wU3U2JZOaSy4wkaj2H5kL268s7Jm8Mahedc=
=KZ+5
-----END PGP SIGNATURE-----