-
-
Notifications
You must be signed in to change notification settings - Fork 654
Description
sage -t --optional='sage,!FEATURE'
will disable autodetection of FEATURE
.
Useful for checking sequences of # optional - FEATURE
annotations in particular when FEATURE
is standard in Sage, for example sage.misc.cython
(#33029):
./sage -t --optional='sage,!sage.misc.cython' src/sage/misc/inherit_comparison.pyx
Also, sage -t --optional='sage,optional,!FEATURE'
will remove it from the list of optional features supplied by the package list and disable auto-detection.
For example, when the optional SPKG bliss
is installed, --optional='sage,optional'
would expand to a list including bliss
. By using --optional='sage,optional,!bliss'
, it can be removed.
CC: @kwankyu @orlitzky @kiwifb @seblabbe
Component: refactoring
Author: Matthias Koeppe
Branch: ba86146
Reviewer: Sebastian Oehms
Issue created by migration from https://trac.sagemath.org/ticket/33823