#1083708 python-setuptools-protobuf: (build-)depends on deprecated module python3-pkg-resources

#1083708#5
Date:
2024-10-04 09:47:38 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.

#1083708#12
Date:
2025-10-29 17:02:07 UTC
From:
To:
The python-setuptools-protobuf 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.

#1083708#19
Date:
2025-10-29 19:05:33 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-setuptools-protobuf, 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 1083708@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jelmer Vernooij <jelmer@debian.org> (supplier of updated python-setuptools-protobuf 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: Wed, 29 Oct 2025 18:08:09 +0000
Source: python-setuptools-protobuf
Architecture: source
Version: 0.1.16-1
Distribution: unstable
Urgency: medium
Maintainer: Jelmer Vernooij <jelmer@debian.org>
Changed-By: Jelmer Vernooij <jelmer@debian.org>
Closes: 1083708
Changes:
 python-setuptools-protobuf (0.1.16-1) unstable; urgency=medium
 .
   * New upstream release.
    + Drops use of pkg-resources. Closes: #1083708
Checksums-Sha1:
 d297df6b741ce9b5173b185bf1ef3a9e7ee1dd02 1837 python-setuptools-protobuf_0.1.16-1.dsc
 cb3887938fbf01979ee864c6b92fd6b11608aaf5 15133 python-setuptools-protobuf_0.1.16.orig.tar.gz
 abb45c78535665d615b732052eab03c5f56e5148 1464 python-setuptools-protobuf_0.1.16-1.debian.tar.xz
 25bfdf823c78d7707f9273f2149f1c2b5c8bb2da 7834 python-setuptools-protobuf_0.1.16-1_source.buildinfo
Checksums-Sha256:
 dd34680654cd487647e0308de169b41026d65daa967cf4f380be9b97222aa9f8 1837 python-setuptools-protobuf_0.1.16-1.dsc
 be46f2600b3139fd92c31842b5ba525d4d7bd1bb9c35f2c7a30e87e3906e3b92 15133 python-setuptools-protobuf_0.1.16.orig.tar.gz
 ecff0c3981a92d8ff7cf9ef9b5f025b28ddeb50c66869cd77af624de99dc7f9f 1464 python-setuptools-protobuf_0.1.16-1.debian.tar.xz
 85926ab81f00a39c02188603edfdc3f48cfe5cd8419a3350428f32335f78a29d 7834 python-setuptools-protobuf_0.1.16-1_source.buildinfo
Files:
 6c710af20039ba4a2a2edb051c89d0e1 1837 python optional python-setuptools-protobuf_0.1.16-1.dsc
 593a87bc45dcd286e3042e152ebd92e8 15133 python optional python-setuptools-protobuf_0.1.16.orig.tar.gz
 c4ccdb113341e112f761fe36287ee8ff 1464 python optional python-setuptools-protobuf_0.1.16-1.debian.tar.xz
 0de5f2fa7feb57cf3e3f45f7c0ea9b10 7834 python optional python-setuptools-protobuf_0.1.16-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQFGBAEBCgAwFiEE45ORIHAv6kHRgdNzhp0ktO57TaYFAmkCWJQSHGplbG1lckBk
ZWJpYW4ub3JnAAoJEIadJLTue02mkWUH+wbGi69WWGDeGFkT7tfJb1Y5mkGSDrKf
mYvfJgypOwUE+n6GI/D1ydCza9usfzuLO7zGzUl6hAJKZtfYaPSKXoo1zA34q7fm
qTOzEj/LAKhqQ9IppL2GzSa93PsUsWpwN6wG/XZdIjG7C4ynasoBAgWZHWWzmjUD
hMplkqliXpI7Mc1ZW65qgRkXnRMvO8YVBnPy9SGLpqGIV0/XQEAqHlYjRv//atiX
A5W/6pENSKM2fdOJuzou5QKzn/VG9d/FSARTngc3NHT35LAJSV6erbRS1cTJo5cc
IDTjK7d6h+WMEjkb9uD1Z7Wg3jmHgqhh8pVgRMD2ff1fd19+X2RGO9Y=
=SiRX
-----END PGP SIGNATURE-----

#1083708#36
Date:
2026-08-31 17:31:16 UTC
From:
To:
Hi Jelmer,

A no change rebuild using current dh-python
is all what is needed to pick up a correct runtime
dependency on python3-setuptools instead of python3-pkg-resources.

Greetings

Alexandre

#1083708#41
Date:
2026-08-31 19:05:15 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-setuptools-protobuf, 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 1083708@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jelmer Vernooij <jelmer@debian.org> (supplier of updated python-setuptools-protobuf 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: Mon, 31 Aug 2026 19:28:23 +0100
Source: python-setuptools-protobuf
Architecture: source
Version: 0.1.16-2
Distribution: unstable
Urgency: medium
Maintainer: Jelmer Vernooij <jelmer@debian.org>
Changed-By: Jelmer Vernooij <jelmer@debian.org>
Closes: 1083708
Changes:
 python-setuptools-protobuf (0.1.16-2) unstable; urgency=medium
 .
   * No change rebuild for deprecated python3-pkg-resources dep.
     Closes: #1083708
Checksums-Sha1:
 dade9214e45683284b03e1eea542c5a1eda3eb2d 1813 python-setuptools-protobuf_0.1.16-2.dsc
 e78d51048488e4da7055ef3ebad04b46af6b4484 1516 python-setuptools-protobuf_0.1.16-2.debian.tar.xz
 23d20a3c62a2c6740f04c55b657f9ab56fa13493 8796 python-setuptools-protobuf_0.1.16-2_source.buildinfo
Checksums-Sha256:
 50e033dd995ff67349e736a949884848d79b583b5e102cc1f88ae1b52794bc67 1813 python-setuptools-protobuf_0.1.16-2.dsc
 fcc4869917bcda6848380cf6e528c10d30edb65e3a2950194f49a6817237e7be 1516 python-setuptools-protobuf_0.1.16-2.debian.tar.xz
 e877abcb10db9e8d47a340a1b1128a1dada662c51a5d9a371cf3715f539b0ee8 8796 python-setuptools-protobuf_0.1.16-2_source.buildinfo
Files:
 8da5114fc900d2ecf319b51cba51bb33 1813 python optional python-setuptools-protobuf_0.1.16-2.dsc
 51137ac2eed9be449addf46fd5a60083 1516 python optional python-setuptools-protobuf_0.1.16-2.debian.tar.xz
 190831c43f80e54253c0b79d3515b6ce 8796 python optional python-setuptools-protobuf_0.1.16-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEgIoEfJX3ae+y722SMG8hYYBCUGYFAmqVyF0ACgkQMG8hYYBC
UGZ+GggAhGBJ/FRoFo3+y+yl8oNDilP0emoryLLXwAeNvpDfnzPjMTt4ek9qsUhz
dUMEEQymeStOSsREjrDM7WqpgRqCOZsfljHmZ4T45+sOU/yb0Wo9tSFTMYtgsV+t
66kOh3VmD7w7uUIRiyQ+7lrogL+EvZyUlIsq6wu1s8VG7iEGtYgjgY5HBp8qiKjt
+O7+IFBSR3UyHBZmModGWT3iwx7/2J61kgKwGroi3ed7lsssKzBidAkVsGqEWiN4
3fT+4OytWWCW8uJjNcTy6fYJy4LaSPTJX3LWMmxJIk2Ua11vGS3zARb8sN4fwpdJ
IxVasY/8l7n2+82F/sS0eBoeSF+q6Q==
=Uers
-----END PGP SIGNATURE-----