From 82654677fa034942e2523f38727f5160e1870fb5 Mon Sep 17 00:00:00 2001 From: Caroline Chen Date: Fri, 25 Mar 2022 11:36:03 -0700 Subject: [PATCH] Pin jinja2 version for build_docs (#2292) Summary: `build_docs` CircleCI currently failing with `ImportError: cannot import name 'environmentfilter' from 'jinja2'`. Pin Jinja2<3.1 to resolve this issue, see https://github.com/sphinx-doc/sphinx/issues/10291#issuecomment-1078046986 Pull Request resolved: https://github.com/pytorch/audio/pull/2292 Reviewed By: mthrok Differential Revision: D35148397 Pulled By: carolineechen fbshipit-source-id: 963efe2fcdee13dead4a4d542c903913c6eaa505 --- docs/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/requirements.txt b/docs/requirements.txt index 88a882ace6..c3dc118dbb 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -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