- Package:
- src:lazr.uri
- Source:
- src:lazr.uri
- Submitter:
- Matthias Klose
- Date:
- 2026-08-02 16:21:02 UTC
- Severity:
- normal
- Tags:
[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.
While pkg_resources is indeed deprecated upstream, there's nothing that we can sensibly do about it at the Debian level in lazr.* or zope.*, and it's not even as clear as you might hope what to do upstream. They all do something like this in an __init__.py (with unimportant variations):
I don't want to force it. the separation of this module into it's own module is a Debian specific change to avoid runtime dependencies on pkg_resources. So you'll find a lot of hard-coded dependencies that are just not used anymore. That's what I want to catch for the trixie release. Matthias
We believe that the bug you reported is fixed in the latest version of
lazr.uri, 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 1083461@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 lazr.uri 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: Sun, 26 Jan 2025 19:36:29 +0100
Source: lazr.uri
Architecture: source
Version: 1.0.6-5
Distribution: unstable
Urgency: medium
Maintainer: Stefano Rivera <stefanor@debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1083461
Changes:
lazr.uri (1.0.6-5) unstable; urgency=medium
.
* Team upload.
* Do not generate an extraneous dependency on python3-pkg-resources
(Closes: #1083461)
Checksums-Sha1:
fa3eb04ab1d3cebf1ba49d96acdf145b4aedb894 2364 lazr.uri_1.0.6-5.dsc
914ec927b95119e3bd079c4ce4b122a90b71b74f 8628 lazr.uri_1.0.6-5.debian.tar.xz
f31f876ff07a26240c33dbb00c039eb548a2fcaa 8075 lazr.uri_1.0.6-5_source.buildinfo
Checksums-Sha256:
6024262da23c9af1e1c1281ba73d62422eed1d4af243152a1aaadd7c6571db14 2364 lazr.uri_1.0.6-5.dsc
c2706fd1e6415f291e6e21e72302de17ff690ed0d6a10cffbb6ad499a4a3cc3b 8628 lazr.uri_1.0.6-5.debian.tar.xz
c7421b2f3eb8e052f7de8477159ea9e180b786d967a939efd42d5ba899c75b27 8075 lazr.uri_1.0.6-5_source.buildinfo
Files:
e5c9065c8c9bc638a4a62b96748eb882 2364 python optional lazr.uri_1.0.6-5.dsc
5eab468a40d9a7ebfcea437a3c00d186 8628 python optional lazr.uri_1.0.6-5.debian.tar.xz
f41572574f0aaa315a8d5d31baf961b9 8075 python optional lazr.uri_1.0.6-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmeWg3ERHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBrkpRAAi87esXT1RY19Z+KK0OSSiDkncT7TUBfB
FM2QqVCHfbKbqAqN5Es3brfYcMn/QLRtkb6lrCSRutXGsydrRb+1g1+yR+YLDrmM
0zKs2oDTkwFBhNHc/kAx+JsJl1AB9DHTqJqj+F/BsY8sMGrwu2YRNzAIZXpu5oOD
iqz6rONHmWELi8AWw05dkostYArQLLxu1AZ33yG8wWFu63JKG62w4HyxQSEruNVT
cmx+dJ0l/PcwNltK9uGQgbpEzXm87F/XwH6+odzKSuqVmAdQeFnyVX1POHHhjEAI
j9qf03ysaRrJ76YK0tNvwgKtwquSXuCN0eTlqo6kWNRmGvxhPBG7YAUGvuY1k5TA
fahiP2nqn70RZsOilIAzW1MjC46FFXZSnuYvMx+Er0Y9x5ETZt4FBYrxpyqUVKOr
94dIx73MAqDn87b7B0Sf9wMUh6XWoYq/3TsoDOcfKq0MYIvJSHLTL+Pm5P9Jaujo
EjTwrMPrvZlREtOxx64Wn2oIxdpgzaBRuYry8veFPif7p4E5itjX/GDM8ezIwe/z
dkHVXfEqohd0EIZ6uNxhOkC9Ih38+G0tK8uXK2K5b+gAU+8lx+4ozV7UByycWBQq
gKx2odUMc0pE4bcA77OU9ohKozK2Csw5YwRxgSp13mQtT5dprQy87O/o3Jcw5TeR
6a5kZUsPo+A=
=1RBA
-----END PGP SIGNATURE-----
We believe that the bug you reported is fixed in the latest version of
lazr.uri, 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 1083461@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated lazr.uri 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: Sun, 02 Aug 2026 16:59:29 +0100
Source: lazr.uri
Architecture: source
Version: 4.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Closes: 1083461
Changes:
lazr.uri (4.0.0-1) unstable; urgency=medium
.
* Team upload.
* d/upstream/signing-key.asc: Add Finn Gärtner's key.
* New upstream release:
- Replace pkg_resources namespace with a PEP 420 native namespace
(closes: #1083461).
* Drop test dependency on python3-setuptools.
Checksums-Sha1:
fb710ac3ed5cb33461328e8d52c378b408b948c7 2631 lazr.uri_4.0.0-1.dsc
62a26dc444172163ba3891a74e848e7ec5bb0e2f 20819 lazr.uri_4.0.0.orig.tar.gz
2acd4e2990ce97d31486ee6e37f00c476e9a9695 488 lazr.uri_4.0.0.orig.tar.gz.asc
354df0acb99ff383852162b0385a9ea32d465545 10844 lazr.uri_4.0.0-1.debian.tar.xz
2c69963bc560e683b29554a733667467275b471f 66112 lazr.uri_4.0.0-1.git.tar.xz
f94d4821b624639de343f78c82bbaef4e4e86ed6 17556 lazr.uri_4.0.0-1_source.buildinfo
Checksums-Sha256:
5ba545f4111d1cf0d7d0d8b0440a6bbfc484f28eb40c9deff6b9cc9b77285a56 2631 lazr.uri_4.0.0-1.dsc
d4a4e44b7c87269ab6c01dfd4c460b8f0492e2377c4215157c285929888efe5c 20819 lazr.uri_4.0.0.orig.tar.gz
659aa0dd57def75e3b29862296c8b32c4525d0a5aa4eb4402c10b600e2d9d2f0 488 lazr.uri_4.0.0.orig.tar.gz.asc
5c2ee7b560433e0eae969847275253711140a349d062779dbbe8d81dfa684237 10844 lazr.uri_4.0.0-1.debian.tar.xz
d8f5e9b6ca68b75b743528c45e23ef8239c90fad4b6e6994aa791131e4f9db18 66112 lazr.uri_4.0.0-1.git.tar.xz
50bd8d002a61a6965ed4af99f6298113dab70622e25fee2a81b2b5650116b9aa 17556 lazr.uri_4.0.0-1_source.buildinfo
Files:
dd0c74a4ba8392953bd0c57e7c190389 2631 python optional lazr.uri_4.0.0-1.dsc
e644fe29e1e4e00ffc435d067665a8a4 20819 python optional lazr.uri_4.0.0.orig.tar.gz
56787f058f8332bfd3b3efb3fe4ee688 488 python optional lazr.uri_4.0.0.orig.tar.gz.asc
e702895bcd0b6bb338c203d54688f885 10844 python optional lazr.uri_4.0.0-1.debian.tar.xz
57d24a666cff39e5ce1961c5979397c1 66112 python None lazr.uri_4.0.0-1.git.tar.xz
25325c08565aa4f9ccfc7723022f9bcf 17556 python optional lazr.uri_4.0.0-1_source.buildinfo
Git-Tag-Info: tag=dd70a283895f16673a14635d4a60c4879bde158d fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <cjwatson@ubuntu.com>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmpvabgACgkQYG0ITkaD
wHmDRg//dXBuQ2H8lTKIwCYX79CBSmBNxvongcbZyrt4kLXpNqVrWyDQg71onafd
OP9vA7fK2Tr3SyzC5J2oMmpdIaGiNnQsHITcJzGT2lKa0OXltac4JbNwScr2f+Ap
yOI8Yp6K0ZU3rYBaNTl7hgcnkM8/XMI723qfp2cYV62oVvDq66zk17QgotqgKPWG
z7uKP8o2OeBuuADvHqFSj8Qs6qlRQU3hse9Opj7U2regzQ+GWk6J5oM8BfR62+xX
QRr+Dk4mPMBqJhmZNoIsJSGMSSX+cetzfsZzNMIBGYK9cQovhsGksDHS/+CMoRux
R4hFYOrmRzN97e7Eqf2ytjJ55f/dH0bunb/x3ptqfwbcOj0eOmzvZbOAuKXFE7qU
MLEC1kxX4FP08KKFG4692iM8Syu5QptvHBYW29X/cCaI7ofKLwsN71uyjsvFqU7x
OL4Gn6gPc2FraxEvRT5Ho6p5GC0e1w1+Zxcmxp3Iec2wYRuaQ0WBvoqX4goE2AdS
uE4NyoRWqyHRRLMGsYg75JOznNBbAZSu6iuoGkQIbLk8o8O2+3WQaVbMJzBr0zW0
/d+tVqF18j4qWSl+zsJaiO/kSsPnTavUHr5+0d2hszC3w9PYiQQIgMxNzEMvgNZv
9W9ymUf6Gaa/letLxqUAPrQgPhKbK9FXGlbGS+cvpkvLIkPRG1Y=
=UUAm
-----END PGP SIGNATURE-----