Our lectures are written under the main idea that they execute in python + anaconda so they require the install of any needed packages at the top of the lectures. This condition however is currently not testable as all lectures are executed in the same python environment alongside jupyter-book builds as well.
Looking at Jupyter-cache you can use temp folders but that only really helps test the case when files are created etc. and not the software environment
Our lectures are written under the main idea that they execute in
python
+anaconda
so they require the install of any needed packages at the top of the lectures. This condition however is currentlynot
testable as all lectures are executed in the samepython
environment alongsidejupyter-book
builds as well.Looking at
Jupyter-cache
you can usetemp
folders but that only really helps test the case whenfiles
are created etc. and not the software environmenthttps://jupyter-cache.readthedocs.io/en/latest/using/cli.html#executing-the-notebooks
python
orconda
envs in addition to running in temp directories.