#1083806 trac: (build-)depends on deprecated module python3-pkg-resources

Package:
src:trac
Source:
src:trac
Submitter:
Matthias Klose
Date:
2026-09-19 23:45:01 UTC
Severity:
normal
Tags:
#1083806#5
Date:
2024-10-04 09:49:22 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.

#1083806#12
Date:
2025-10-29 17:02:32 UTC
From:
To:
The trac 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.

#1083806#25
Date:
2026-09-19 23:42:40 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
trac, 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 1083806@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 trac 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, 20 Sep 2026 00:57:29 +0200
Source: trac
Architecture: source
Version: 1.6-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1083806
Changes:
 trac (1.6-5) unstable; urgency=medium
 .
   * Team upload.
   * Vendor pkg_resources.py (Closes: #1083806)
   * Add debian/salsa-ci.yml
   * Rewrite d/watch in v5 format
Checksums-Sha1:
 76d34dd2ea7364c65d0a99f92a8029bd8f9b376e 2203 trac_1.6-5.dsc
 80c1cf3268e4561fdb809f0e7c3cb757dd5ea85b 49948 trac_1.6-5.debian.tar.xz
 6dc127f799e89f29278e96d2487c4c3cc035516e 5939 trac_1.6-5_source.buildinfo
Checksums-Sha256:
 937fb85cdd31063e6246a51e69da87cdc2c9690fd5ccaba19b97e4798b6f59d7 2203 trac_1.6-5.dsc
 5aa53c8b4e58cbd7c09546c2c6a599c4cb57cd524c738e0f125f25ec9348b4bd 49948 trac_1.6-5.debian.tar.xz
 73932328e1918eef904a52a4cb5dbeb0c4cb1858262b3855c57402849b02b133 5939 trac_1.6-5_source.buildinfo
Files:
 e06e7eb21fdc35e869803d5e7fbfd890 2203 web optional trac_1.6-5.dsc
 726f5ca0bfeae3e64078fdbc9522223b 49948 web optional trac_1.6-5.debian.tar.xz
 1702c2597dedf39c85350b2f57336e55 5939 web optional trac_1.6-5_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmqvE8YRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBqZbhAAmcIe8l2iqxyf42Y5DlD1SF0PE0Ps1v6K
J13ifU22F3O5Ibyv4qhwX8SgT60BDijKbWTl9abcjjhnnvV4VD9q3I+PrJY0TM8h
CzrM5wyAJ+YRCA0FqvRLLXHHuezXgPN5gu9fAwTJqaZyJiiDJPB1casp+4oAMtiE
XEobMMhsLrULBBVNrTFACS8S9hdZRGEVlGYZDwSaq2O7MQZrY/WYpchiCXqAWWT/
MvCCQGUjhpvdpvLaPZHazL9G6erZgolv6xAMY5dhrLn9oSgyTdO+F+fn40w/RAFl
qNRTUbpRPZ5/HpnZgCFZhjs27u5UerRhgqjyjQGsSeojCWAV3dC64yAnGQg737v5
I1vA/dvBBaYQFBHbZf/S7rF8BjNdDiZOsp4o9bmBmshd1MkoE6yF6pRcUuwgYRSj
NXotnazo6UEepRVMD+a5MwSebYGBAkgJGroHI8obl9UZmWAwK16gRYkvOfWRyTRU
NbsRJjSqnlMn1Lg5DoYRbcm/AYLYF9qvM32G0qDrbabcqjFFCMH/s8E5BPdgoaOI
uaY7LSec4v5BNjVnZz20JtoETWVG+gZog+Uy4C3xoZZuIasdQsogXCAztPGDy6IS
Xyo6ORddapPj7EHqwjQdvQjqUjlCu7vJwKi1Z2UzAdpB0eH6w375m4Hjag0KjoJY
0KsZ7nFMB/c=
=OruV
-----END PGP SIGNATURE-----