diff --git a/docs/notebook-requirements.txt b/docs/notebook-requirements.txt index e90404e0b..ed388a117 100644 --- a/docs/notebook-requirements.txt +++ b/docs/notebook-requirements.txt @@ -3,6 +3,8 @@ jupyter # Notebook conversion nbsphinx>=0.8.6,<0.8.7 +# Jinja2 version 3.1 introduced a bug in nbconvert, see https://github.com/jupyter/nbconvert/pull/1737 +Jinja2<3.1 # Dependencies matplotlib diff --git a/docs/sphinx-requirements.txt b/docs/sphinx-requirements.txt index 6f23147c1..08c37058a 100644 --- a/docs/sphinx-requirements.txt +++ b/docs/sphinx-requirements.txt @@ -1,14 +1,13 @@ # Sphinx builds the documentation -sphinx>=3.0,<4.4.1 +sphinx>=3.0,<4.5 # Sphinx dependencies Pygments>=2.6.1 # Sphinx extensions -pydata-sphinx-theme>=0.6.0 +pydata-sphinx-theme>=0.6.0,<0.8.1 sphinx-automodapi sphinx-gallery -sphinxcontrib-bibtex # Markdown conversion myst-parser<0.17.0