-
-
Notifications
You must be signed in to change notification settings - Fork 655
Description
... by features.
This is so that users can make use of doctests conditionalized with "# optional" in their Sage programs even on distribution-packaged Sage installations, or for optional packages with spkg-configure.m4
(as observed in #30887 comment:28)
After #30887, #32614, #32649 a Feature
has a name
attribute that can be used as the # optional
tag for doctesting.
#32174 implements global Feature
discovery and hooks it into sage.doctest.control
.
It remains to define Feature
s for all remaining SPKGs that appear in # optional
tags somewhere in the Sage library (which can be found using git grep -l '# *optional' | xargs sed -E -n 's/^.*# *optional[ -:]*([a-zA-Z_0-9.]*).*/\1/gp' | sort -u
). Then we can remove the use of sage.misc.package
.
Related:
-
sage.doctest.control, sage_setup: Do not check versions of installed packages #30848
sage.doctest.control
,sage_setup
: Do not check versions of installed packages -
Depends on: Add missing
Feature
s for optional and experimental SPKGs #35856
CC: @antonio-rojas @kiwifb @simon-king-jena @dimpase @jhpalmieri @kliem @tscrim @kwankyu @orlitzky
Component: doctest framework
Keywords: sd111
Issue created by migration from https://trac.sagemath.org/ticket/30746