Closed
Description
First, similar to #59, there’s another doctest plugin that has its own set of features.
The only current feature of it I need is doctest_subpackage_requires
. It’ll prevent descending into these subdirectories if (and only if) the listed dependencies are not installed.
This is a much better solution than just skipping stuff outright.
E.g.:
doctest_subpackage_requires = [
"src/fast_array_utils/conv/scipy/* = scipy",
"src/fast_array_utils/conv/scipy/_to_dense.py = numba",
"src/fast_array_utils/stats/* = numba",
"src/fast_array_utils/_plugins/dask.py = dask",
"src/fast_array_utils/_plugins/numba_sparse.py = numba;scipy",
]