Skip to content

Commit

Permalink
Pin jinja2 version for build_docs (#2292)
Browse files Browse the repository at this point in the history
Summary:
`build_docs` CircleCI currently failing with `ImportError: cannot import name 'environmentfilter' from 'jinja2'`. Pin Jinja2<3.1 to resolve this issue, see sphinx-doc/sphinx#10291 (comment)

Pull Request resolved: #2292

Reviewed By: mthrok

Differential Revision: D35148397

Pulled By: carolineechen

fbshipit-source-id: 963efe2fcdee13dead4a4d542c903913c6eaa505
  • Loading branch information
Caroline Chen authored and mthrok committed Mar 31, 2022
1 parent e92a17c commit 8265467
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Jinja2<3.1.0
sphinx==3.5.4
-e git+https://github.com/pytorch/pytorch_sphinx_theme.git@b4d0005#egg=pytorch_sphinx_theme
sphinxcontrib.katex
Expand Down

0 comments on commit 8265467

Please sign in to comment.