[Debian-science-sagemath] Final touches
E. Madison Bray
erik.m.bray at gmail.com
Wed Feb 20 16:17:22 GMT 2019
On Wed, Feb 20, 2019 at 8:29 AM Ximin Luo <infinity0 at debian.org> wrote:
>
> Tobias Hansen:
> > On 2/19/19 10:44 AM, Tobias Hansen wrote:
> >> On 2/19/19 10:36 AM, Ximin Luo wrote:
> >>> Jeroen Demeyer:
> >>>> On 2019-02-19 10:16, Tobias Hansen wrote:
> >>>>> Do we need runtime dependencies on cython and sphinx?
> >>>> That depends on what you want. If you want all doctests to pass, then yes: doctests do depend on Cython and Sphinx.
> >>>>
> >>> We are able to express 3 levels of runtime dependencies in Debian - Depends, Recommends and Suggests. There are no hard rules on what goes where but there is a general convention that Depends is for vital things, Recommends is for "standard" user-level things, and Suggests are totally optional. I would suggest for sagemath:
> >>>
> >>> 1. Depends is for all mathematical functionality.
> >>> 2. Recommends is for extra user-oriented stuff like commands to pretty-print docs.
> >>> 3. Suggests could be for power-user or dev-oriented stuff like additional tools needed to run `sage -t`.
> >>>
> >>> All of these would need to be added to the "Build-Depends" for the sagemath source package since we run the tests during the build.
> >>>
> >>> However if cython/sphinx aren't needed for (1) or (2) then we can avoid having the sagemath binary package depend on them, saving users some disk space.
> >>>
> >>> X
> >>>
> >> I think when installing all Recommends, the doctests should pass (as during build). So I'd put cython/sphinx in Recommends. I find Suggests a bit useless because it's not installed by default and I don't think that many people look at this to get ideas what else to install.
> >>
>
> But do end-users really expect "sage -t" to work at run-time?
It's nice if it *does* work, but mostly just for testing users' own
modules written to work with Sage. As long as they can install some
additional recommended packages easily, I think it's fine. Most users
of Sage just as a CAS (and not doing development) won't need `sage -t`
to work out-of-the-box.
More information about the Debian-science-sagemath
mailing list