diff --git a/setup.py b/setup.py index b669afc00..7ce37f9ea 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,8 @@ install_requires = [ 'sphinxcontrib-htmlhelp', 'sphinxcontrib-serializinghtml', 'sphinxcontrib-qthelp', - 'Jinja2>=2.3', + 'Jinja2>=2.3,<3.0', + 'MarkupSafe<2.0', 'Pygments>=2.0', 'docutils>=0.14,<0.18', 'snowballstemmer>=1.1',