Require jinja2<3.0.0 due to use of f-strings.

This commit is contained in:
Ben Sturmfels 2020-04-10 07:14:39 +10:00
parent 15c45a820f
commit 72047cbe68
No known key found for this signature in database
GPG Key ID: 023C05E2C9C068F0

View File

@ -57,7 +57,9 @@ install_requires = [
'pytest-xdist', 'pytest-xdist',
'werkzeug>=0.7,<1.0.0', 'werkzeug>=0.7,<1.0.0',
'celery>=3.0', 'celery>=3.0',
'jinja2', # Jinja2 3.0.0 uses f-strings (Python 3.7 and above) but `pip install` on
# Debian 9 doesn't seem to respect Jinja2's 'python_requires=">=3.6"' line.
'jinja2<3.0.0',
'Babel>=1.3', 'Babel>=1.3',
'WebTest>=2.0.18', 'WebTest>=2.0.18',
'ConfigObj', 'ConfigObj',