Closed stonier closed 2 years ago
PY_TREES_DISABLE_COLORS=1 sphinx-build -E -b html doc doc/html Running Sphinx v1.8.5 Extension error: Could not import extension sphinx.builders.latex (exception: cannot import name 'contextfunction' from 'jinja2' (/mnt/mervin/workspaces/devel/py_trees/src/py_trees/.venv/lib/python3.8/site-packages/jinja2/__init__.py)) make: *** [Makefile:21: docs] Error 2
I'm guessing this is because of a new release of jinja2 (https://github.com/pallets/jinja/releases). Need to pin jinja2 to jinja2<3.1.0.
Ultimately should upgrade sphinx though (now v5!? Still on 1.8.5 here).