#1083320 borgmatic: (build-)depends on deprecated module python3-pkg-resources

Package:
src:borgmatic
Source:
src:borgmatic
Submitter:
Matthias Klose
Date:
2026-01-08 02:23:03 UTC
Severity:
normal
Tags:
#1083320#5
Date:
2024-10-04 09:40:54 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.

#1083320#10
Date:
2024-10-27 06:57:44 UTC
From:
To:
Dear Maintainer,

This should be fixed with the next release, upstream transition to
pyproject.toml https://projects.torsion.org/borgmatic-collective/borgmatic/commit/f8c9d985e8ac

Cheers
k

#1083320#19
Date:
2025-10-29 17:00:02 UTC
From:
To:
The borgmatic 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.

#1083320#28
Date:
2026-01-08 02:06:33 UTC
From:
To:
Matthias Klose <doko@debian.org> writes:

It does?  Where?

The package is in the Debian (old collab-maint) namespace, so I'm
dropping the severity as suggested.

Regards,
Nicholas