Skip to content

Commit cdaf75a

Browse files
committed
Pin specific version of Jinja2
Before this change, the docs failed to build with the following error: ImportError: cannot import name 'environmentfilter' from 'jinja2' A fix to this problem is to explicitly pin Jinja2 version.
1 parent 96a9aeb commit cdaf75a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ sphinx-sitemap = "2.1.0"
1414
sphinx-autobuild = "0.7.1"
1515
Sphinx = "2.4.4"
1616
sphinx-multiversion-scylla = "~0.2.6"
17+
Jinja2 = "<3.1"
1718

1819
[tool.poetry.dev-dependencies]
1920
pytest = "5.2"

0 commit comments

Comments
 (0)