mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 08:30:21 +00:00
Bump psycopg requirement (#5032)
This commit is contained in:
parent
3352baac4b
commit
4abf5aa81a
2 changed files with 4 additions and 1 deletions
1
changelog.d/5032.bugfix
Normal file
1
changelog.d/5032.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fix "cannot import name execute_batch" error with postgres.
|
|
@ -74,7 +74,9 @@ REQUIREMENTS = [
|
||||||
CONDITIONAL_REQUIREMENTS = {
|
CONDITIONAL_REQUIREMENTS = {
|
||||||
"email.enable_notifs": ["Jinja2>=2.9", "bleach>=1.4.2"],
|
"email.enable_notifs": ["Jinja2>=2.9", "bleach>=1.4.2"],
|
||||||
"matrix-synapse-ldap3": ["matrix-synapse-ldap3>=0.1"],
|
"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
|
# ConsentResource uses select_autoescape, which arrived in jinja 2.9
|
||||||
"resources.consent": ["Jinja2>=2.9"],
|
"resources.consent": ["Jinja2>=2.9"],
|
||||||
|
|
Loading…
Reference in a new issue