Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1231555

Bug#1095064: python3-astropy: should not depend on python3-pytest*

From Julian Gilbey <jdg@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1095064: python3-astropy: should not depend on python3-pytest*
Date 2025-02-03 11:30 +0100
Message-ID <Kc1Sh-e2Ya-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1095064: python3-astropy: should not depend on python3-pytest* Julian Gilbey <jdg@debian.org> - 2025-02-03 11:30 +0100

csiph-web