Skip to content

sage -t --optional='sage,!FEATURE' #33823

@mkoeppe

Description

@mkoeppe

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions