summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-06-05 17:11:04 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2019-06-05 17:11:04 +0100
commitf522cde541b8d8b7f5001c952119950da38ccc5e (patch)
treefe84a4b875774462efae0692dd73ffb280cef009
parentUpdate templates and make password reset option work (diff)
downloadsynapse-f522cde541b8d8b7f5001c952119950da38ccc5e.tar.xz
Change jinja2 and bleach back to opt deps
-rw-r--r--synapse/python_dependencies.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index 3ad421ac2f..20b0167869 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -74,13 +74,12 @@ REQUIREMENTS = [
     "attrs>=17.4.0",
 
     "netaddr>=0.7.18",
-    "Jinja2>=2.9",
-    "bleach>=1.4.2",
-    "html5lib>=1.0.1",
 ]
 
 CONDITIONAL_REQUIREMENTS = {
     "matrix-synapse-ldap3": ["matrix-synapse-ldap3>=0.1"],
+    "email.enable_notifs": ["Jinja2>=2.9", "bleach>=1.4.2"],
+    "enable_password_resets": ["Jinja2>=2.9", "bleach>=1.4.2"],
 
     # we use execute_batch, which arrived in psycopg 2.7.
     "postgres": ["psycopg2>=2.7"],