[Debian-astro-maintainers] Bug#1070282: sunpy: please drop dependency on obsolete python3-mock

Alexandre Detiste alexandre.detiste at gmail.com
Fri May 3 09:47:13 BST 2024


Source: sunpy
Version: 5.1.1-5
Severity: normal

Dear Maintainer,

"mock" has been merged into the Python standard library
as "unittest.mock" since Python 3.3

The dependency on the standalone python3-mock
is not necessary anymore.

Greetings

tchet at quieter:/tmp/sunpy$ grep mock -r | grep -e debian -e import
debian/control:               python3-mock <!nocheck>,
debian/tests/control:         python3-mock,
sunpy/data/data_manager/tests/conftest.py:from unittest import mock
sunpy/data/data_manager/tests/test_downloader.py:from unittest.mock import patch
sunpy/net/dataretriever/sources/tests/test_noaa.py:from unittest import mock
sunpy/net/dataretriever/sources/tests/test_norh.py:from unittest import mock
sunpy/net/dataretriever/sources/tests/test_rhessi.py:from unittest import mock
sunpy/net/helio/tests/test_helio.py:from unittest import mock
sunpy/net/tests/test_fido.py:from unittest import mock
sunpy/net/tests/test_scraper.py:from unittest.mock import Mock, patch
tchet at quieter:/tmp/sunpy$ 



More information about the Debian-astro-maintainers mailing list