[Debian-astro-maintainers] Bug#1095064: python3-astropy: should not depend on python3-pytest*
Julian Gilbey
jdg at debian.org
Mon Feb 3 10:18:50 GMT 2025
Package: python3-astropy
Version: 7.0.0-5
Severity: normal
I just installed glueviz for looking at #1083421, and it pulled in a
whole bunch of pytest packages. I looked at the astropy code, and
cannot see any reason for these to be required except when running
tests: there is nowhere in the main code that pytest is imported
unconditionally. So unless the package actually requires the tests to
be run at use time, the runtime package (python3-astropy) should not
depend on any pytest packages, and the pytest dependencies should
instead be specified in the build-dependencies (as they already are)
and debian/tests/control (as they already are).
Best wishes,
Julian
More information about the Debian-astro-maintainers
mailing list