summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-01-22 11:14:49 +0000
committerGitHub <noreply@github.com>2021-01-22 11:14:49 +0000
commit28f255d5f316d45b5e8b72e6c3da73a5a393eee2 (patch)
treeb806671cd2da5930022ff0bafeae0f068742bfb3 /synapse
parentAdd schema update to fix existing DBs affected by #9193 (#9195) (diff)
downloadsynapse-28f255d5f316d45b5e8b72e6c3da73a5a393eee2.tar.xz
Bump psycopg2 version (#9204)
As we use `execute_values` with the `fetch` parameter.
Diffstat (limited to 'synapse')
-rw-r--r--synapse/python_dependencies.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index c97e0df1f5..bfd46a3730 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -86,8 +86,8 @@ REQUIREMENTS = [
 
 CONDITIONAL_REQUIREMENTS = {
     "matrix-synapse-ldap3": ["matrix-synapse-ldap3>=0.1"],
-    # we use execute_batch, which arrived in psycopg 2.7.
-    "postgres": ["psycopg2>=2.7"],
+    # we use execute_values with the fetch param, which arrived in psycopg 2.8.
+    "postgres": ["psycopg2>=2.8"],
     # ACME support is required to provision TLS certificates from authorities
     # that use the protocol, such as Let's Encrypt.
     "acme": [