- Package:
- src:thonny
- Source:
- src:thonny
- Submitter:
- Matthias Klose
- Date:
- 2026-08-01 17:55:01 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.
The thonny 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.
tags 1083797 +fixed-upstream This appears to be fixed in version 5.0.0 https://github.com/thonny/thonny/commit/c1ec71949046e232c5419c41842d86c921d898b6