Bug#1069732: ros-rospkg: please drop extraneous dependency on python3-mock

Alexandre Detiste alexandre.detiste at gmail.com
Tue Apr 23 21:38:40 BST 2024


Source: ros-rospkg
Version: 1.5.0-1
Severity: normal


Dear Maintainer,

Can you please remove python3-mock from d/control.

It is an obsolete library that is slowly being removed from Debian.

The code was integrated a long time ago in the standard library
as unittest.mock.

Greetings




tchet at brix /tmp/ros-rospkg $ grep mock -r -C 2
CHANGELOG.rst:- Use unittest.mock where possible.
debian/control:Build-Depends: ... python3-mock ...
--
setup.py-    'extras_require': {
setup.py-        'test': [
setup.py:            "mock; python_version < '3.3'",
setup.py-            'pytest',
setup.py-        ]},
--
test/test_rospkg_os_detect.py-try:
test/test_rospkg_os_detect.py:    from unittest.mock import Mock, patch
test/test_rospkg_os_detect.py-except ImportError:
test/test_rospkg_os_detect.py:    from mock import Mock, patch



More information about the debian-science-maintainers mailing list