[Debian-astro-maintainers] Bug#1069861: skyfield: please remove the extraneous python3-mock dependency

Alexandre Detiste alexandre.detiste at gmail.com
Thu Apr 25 22:21:49 BST 2024


Source: skyfield
Version: 1.48+ds-1
Severity: normal

Dear Maintainer,

Upstream has fully switched to newer unittest.mock in skyfield/charting.py;
I will send a PR for further cleanup.

unittest.mock is part of the standard Python library.

Greetings


tchet at quieter:/tmp/skyfield$ grep mock -r -C 2
.github/workflows/ci.yml:        python -m pip install mock pandas
--
debian/control:               python3-mock <!nocheck>,
--
requirements.txt-html5lib==1.0.1
requirements.txt-lxml==4.9.1
requirements.txt:mock==2.0.0
requirements.txt-numpy==1.15.4
requirements.txt-matplotlib==3.3.0
--
skyfield/charting.py:from unittest.mock import patch
--
skyfield/tests/test_io.py-try:
skyfield/tests/test_io.py:    from unittest.mock import patch
skyfield/tests/test_io.py-except ImportError:
skyfield/tests/test_io.py:    from mock import patch



More information about the Debian-astro-maintainers mailing list