aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 7788b5a1..157b9113 100644
--- a/setup.py
+++ b/setup.py
@@ -57,7 +57,9 @@ install_requires = [
'pytest-xdist',
'werkzeug>=0.7,<1.0.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',
'WebTest>=2.0.18',
'ConfigObj',