Skip to content

Commit

Permalink
Fix incompatible between Jinja2 >= 3.1 and sphinx 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phprus authored and vitaut committed Mar 26, 2022
1 parent 5379063 commit 1c83eaf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ def create_build_env(venv_dir='virtualenv'):
pip.install('six')
# See: https://github.com/sphinx-doc/sphinx/issues/9777
pip.install('docutils==0.17.1')
# Jinja2 >= 3.1 incompatible with sphinx 3.3.0
# See: https://github.com/sphinx-doc/sphinx/issues/10291
pip.install('Jinja2<3.1')
pip.install('sphinx-doc/sphinx', 'v3.3.0')
pip.install('michaeljones/breathe', 'v4.25.0')

Expand Down

0 comments on commit 1c83eaf

Please sign in to comment.