#1083350 cwl-upgrader: (build-)depends on deprecated module python3-pkg-resources

#1083350#5
Date:
2024-10-04 09:41:25 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.

#1083350#12
Date:
2025-10-29 17:00:07 UTC
From:
To:
The cwl-upgrader 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.

#1083350#19
Date:
2025-12-04 19:49:02 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
cwl-upgrader, 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 1083350@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <dr@jones.dk> (supplier of updated cwl-upgrader 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, 04 Dec 2025 20:34:09 +0100
Source: cwl-upgrader
Architecture: source
Version: 1.2.12-2
Distribution: unstable
Urgency: medium
Maintainer: Jonas Smedegaard <dr@jones.dk>
Changed-By: Jonas Smedegaard <dr@jones.dk>
Closes: 1083350
Changes:
 cwl-upgrader (1.2.12-2) unstable; urgency=medium
 .
   * add patch cherry-picked upstream
     to stop using the deprecated pkg_resources;
     closes: bug#1083350, thanks to Matthias Klose
Checksums-Sha1:
 0cc47ed09d9938630f11309ef1bc63c4ba12bac8 2308 cwl-upgrader_1.2.12-2.dsc
 b68eba1a39ac8233c00372d96d6e88b8d2005944 5016 cwl-upgrader_1.2.12-2.debian.tar.xz
 e1f2ec50ea21e4492271216ef43173ff43570a61 8183 cwl-upgrader_1.2.12-2_amd64.buildinfo
Checksums-Sha256:
 9204824d4234b01a77930ec1f2759df2d056e17e0ba5083d830b7e2a7f0282f9 2308 cwl-upgrader_1.2.12-2.dsc
 44986734695f07452db134d6964b8615a957c68d7c3478b5048e7b77c3cb18d0 5016 cwl-upgrader_1.2.12-2.debian.tar.xz
 e547d239d785042669c00cf9826de7bdcdfdc70f1db0a28cc0b741f60edbdd48 8183 cwl-upgrader_1.2.12-2_amd64.buildinfo
Files:
 ad5d250e59da853ec30da4f889e11c9b 2308 science optional cwl-upgrader_1.2.12-2.dsc
 2a5f0185f8377bc9fa04d382e7482790 5016 science optional cwl-upgrader_1.2.12-2.debian.tar.xz
 c9fee6a83d7a799a4f0d22aab157b73c 8183 science optional cwl-upgrader_1.2.12-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJABAEBCgAqFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmkx4rgMHGRyQGpvbmVz
LmRrAAoJECx8MUbBoAEhVW0P/RqI9Wui4CsQYLi7wddhNs7dQABqCMNmKC1BdUiZ
A+gG/wM8Q+8Jbu+dSdn4CrOdAwIMSwoQcDBFB5se5TkU4Y2WgliIeeXassLKsWcm
q3pHZbXQmMn1Tzb+Bt0YV1MxEj+ZyHt669HIn7fpsJq8QUPqrF7vaOkEEGE5IQ6b
oB2xO1lo8WREM9xjW2wZ+TENlL9yWbmtMU9EuRCXi3Gs3/Awut8ka3pmsCwqPGwb
UzysLRXrhCUOncNYSbT8SB91n0jMKrEh8siRixekE8H6T/MciOGPmsF44cX22xTV
5q3EYxlwR5w61VjXFlUGsfT3KCz4dS8jjO/qsiLazFjIEuJ80+IhQRrZMAwE3JB0
QzaMlynvlY+Oeo6Ap7ievy/N5H7zHzxC07WOv2dKcePgEgr8nA91vt5NzZwd7jxb
CglbERDYkmbO91u7QWrXd4A18Rf7Sf4mJsAWa844I5cgpZZxD1oJTzjCSxLur/L5
/Vbm/lfplq2l9JpCR1/+glFqMorQlwhAvJCzlx66nm7+LsslmiGvkbXLbHO92RnW
IPcPmVPIE8g6vgsPMfAcZX5j9gbJEWKyct7lZgrFax3q8HqQ5AFp8OMRy2n5wpNX
00w+RTzoeb5znRU0hf5ox1PC6hkkNjDq/Z+EmTtVNr/o2lH0yAUa9NCbagQ8T3JF
aog1
=3Xfz
-----END PGP SIGNATURE-----