summary refs log tree commit diff
path: root/synapse/python_dependencies.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-04-09 11:29:50 +0100
committerGitHub <noreply@github.com>2019-04-09 11:29:50 +0100
commit4abf5aa81af68e5dc9ac4fc383f75504bbc8cf97 (patch)
tree5dd82c6296b8cbc4e239d94530494020a9c21a12 /synapse/python_dependencies.py
parentRemove unused server_tls_certificates functions (#5028) (diff)
downloadsynapse-4abf5aa81af68e5dc9ac4fc383f75504bbc8cf97.tar.xz
Bump psycopg requirement (#5032)
Diffstat (limited to 'synapse/python_dependencies.py')
-rw-r--r--synapse/python_dependencies.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index f71e21ff4d..62c1748665 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -74,7 +74,9 @@ REQUIREMENTS = [
 CONDITIONAL_REQUIREMENTS = {
     "email.enable_notifs": ["Jinja2>=2.9", "bleach>=1.4.2"],
     "matrix-synapse-ldap3": ["matrix-synapse-ldap3>=0.1"],
-    "postgres": ["psycopg2>=2.6"],
+
+    # we use execute_batch, which arrived in psycopg 2.7.
+    "postgres": ["psycopg2>=2.7"],
 
     # ConsentResource uses select_autoescape, which arrived in jinja 2.9
     "resources.consent": ["Jinja2>=2.9"],