Bug#1147564: ros-vcstools: using the removed pkg_resources module in the autopkg tests:

Matthias Klose doko at debian.org
Sun Sep 13 07:13:43 BST 2026


Package: src:ros-vcstools
Version: 0.1.42-9
Severity: serious
Tags: sid forky
User: debian-python at lists.debian.org
Usertags: pkg-resources-deprecation

using the removed pkg_resources module in the autopkg tests:

[...]
107s autopkgtest [10:39:58]: test pybuild-autopkgtest: 
[-----------------------
107s pybuild-autopkgtest
108s I: pybuild pybuild:390: git config --global protocol.file.allow always
108s I: pybuild base:385: cd 
/tmp/autopkgtest.DsHqGj/autopkgtest_tmp/build; python3.14 -m pytest test
109s ============================= test session starts 
==============================
109s platform linux -- Python 3.14.7, pytest-9.1.1, pluggy-1.6.0
109s rootdir: /tmp/autopkgtest.DsHqGj/autopkgtest_tmp/build
109s collected 147 items / 1 error
109s
109s ==================================== ERRORS 
====================================
109s __________________ ERROR collecting test/test_code_format.py 
___________________
109s ImportError while importing test module 
'/tmp/autopkgtest.DsHqGj/autopkgtest_tmp/build/test/test_code_format.py'.
109s Hint: make sure your test modules/packages have valid Python names.
109s Traceback:
109s /usr/lib/python3.14/importlib/__init__.py:88: in import_module
109s     return _bootstrap._gcd_import(name[level:], package, level)
109s            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
109s test/test_code_format.py:3: in <module>
109s     from pkg_resources import parse_version, get_distribution
109s E   ModuleNotFoundError: No module named 'pkg_resources'



More information about the debian-science-maintainers mailing list