Skip to content

Commit

Permalink
Pin specific version of Jinja2
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
avelanarius committed May 12, 2022
1 parent 96a9aeb commit cdaf75a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ sphinx-sitemap = "2.1.0"
sphinx-autobuild = "0.7.1"
Sphinx = "2.4.4"
sphinx-multiversion-scylla = "~0.2.6"
Jinja2 = "<3.1"

[tool.poetry.dev-dependencies]
pytest = "5.2"
Expand Down

0 comments on commit cdaf75a

Please sign in to comment.