After 'minimal' & 'standard' tox configs: add 'maximal'?

22 views
Skip to first unread message

Samuel Lelievre

unread,
Jul 31, 2020, 10:58:27 AM7/31/20
to sage-devel
Currently for each distro we have two tox environments:

- minimal: has the minimal amount of packages for Sage to build
- standard: has all the packages Sage knows how to use

but we might be missing:

- maximal: has all the packages we wish Sage knew how to use

to check Sage can at least build in their presence.

For example, currently, `spkg-configure.m4` files are missing
for `ecl`, `maxima`, `singular`, and Sage won't build properly
if Homebrew packages `ecl` or `singular` are installed.

It would be nice to test that Sage can build whether or not
there is an ambient ecl, maxima, singular, etc. lying around.

Or should one configure with `--with-system-ecl=no` etc.?

Or should `configure` default to `--with-system-ecl=no` etc.
until we have the corresponding `spkg-configure.m4` files?

Matthias Koeppe

unread,
Jul 31, 2020, 6:00:50 PM7/31/20
to sage-devel
On Friday, July 31, 2020 at 7:58:27 AM UTC-7, Samuel Lelievre wrote:
Currently for each distro we have two tox environments:

- minimal: has the minimal amount of packages for Sage to build
- standard: has all the packages Sage knows how to use

but we might be missing:

- maximal: has all the packages we wish Sage knew how to use

to check Sage can at least build in their presence.

"maximal" is already defined and does what you want. (We use it in the tests for builds of optional/experimental packages -- see for example https://github.com/sagemath/sage/actions/runs/182648184)

What is missing is the package lists in build/pkgs/SPKG/distros/DISTRO.txt 

You can contribute by adding these on a ticket. (Please open one)

You can find the necessary information on https://repology.org/ 


Samuel Lelièvre

unread,
Jul 31, 2020, 6:25:10 PM7/31/20
to Sage-devel
2020-07-31 22:00 UTC, Matthias Koeppe:
>
> "maximal" is already defined and does what you want.
> (We use it in the tests for builds of optional/experimental
> packages -- see for example
> https://github.com/sagemath/sage/actions/runs/182648184)
>
> What is missing is the package lists in
> build/pkgs/SPKG/distros/DISTRO.txt
>
> You can contribute by adding these on a ticket. (Please open one)
>
> You can find the necessary information on https://repology.org/

Should have known -- or checked --- maximal was already there.
Shouldn't be surprised you thought about that long before I did.
Wasn't sure how independent preparing spkg-configure.m4 was
from filling in build/pkgs/SPKG/distros/DISTRO.txt but now got it.
I'll open a ticket and fill in some of those.
Reply all
Reply to author
Forward
0 new messages