aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2020-04-10 07:14:39 +1000
committerBen Sturmfels <ben@sturm.com.au>2020-04-10 07:14:39 +1000
commit72047cbe687ac8f55c6f9afa5056b196e84ff355 (patch)
treedc6d946f38e2ef53bb26791d2f1db33a2e6c6abb /setup.py
parent15c45a820f915455c8a1a55d971031aa122d1674 (diff)
downloadmediagoblin-72047cbe687ac8f55c6f9afa5056b196e84ff355.tar.lz
mediagoblin-72047cbe687ac8f55c6f9afa5056b196e84ff355.tar.xz
mediagoblin-72047cbe687ac8f55c6f9afa5056b196e84ff355.zip
Require jinja2<3.0.0 due to use of f-strings.
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',