summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-13 11:59:08 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-13 11:59:08 +0000
commit7feac0e5534de88a86782155418a2fe8b6790453 (patch)
tree14f1da81c3580de1d4523f9c80d6483d53945335 /synapse
parentFix "Unexpected entry in 'full_schemas'" log warning (#5509) (diff)
parentOnly import jinja2 when needed (#5514) (diff)
downloadsynapse-7feac0e5534de88a86782155418a2fe8b6790453.tar.xz
Only import jinja2 when needed (#5514)
Diffstat (limited to 'synapse')
-rw-r--r--synapse/python_dependencies.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py

index 77e2d1a0e1..13698d9638 100644 --- a/synapse/python_dependencies.py +++ b/synapse/python_dependencies.py
@@ -72,10 +72,11 @@ REQUIREMENTS = [ # Twisted 18.7.0 requires attrs>=17.4.0 "attrs>=17.4.0", "netaddr>=0.7.18", + "Jinja2>=2.9", + "bleach>=1.4.3", ] CONDITIONAL_REQUIREMENTS = { - "email": ["Jinja2>=2.9", "bleach>=1.4.3"], "matrix-synapse-ldap3": ["matrix-synapse-ldap3>=0.1"], # we use execute_batch, which arrived in psycopg 2.7. "postgres": ["psycopg2>=2.7"],