summary refs log tree commit diff
path: root/synapse/python_dependencies.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-03-29 10:15:25 +0100
committerErik Johnston <erik@matrix.org>2022-03-29 10:15:25 +0100
commitfd1b6334f071c7bbd88928513e99e5c8971ac414 (patch)
tree7333cc7290baba787047b22d0e5bdb875cd8e59b /synapse/python_dependencies.py
parentMerge branch 'release-v1.55' of github.com:matrix-org/synapse into matrix-org... (diff)
parentRemove unused `auth_event_ids` argument plumbing (#12304) (diff)
downloadsynapse-fd1b6334f071c7bbd88928513e99e5c8971ac414.tar.xz
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Diffstat (limited to 'synapse/python_dependencies.py')
-rw-r--r--synapse/python_dependencies.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py

index 1dd39f06cf..8419ab3aca 100644 --- a/synapse/python_dependencies.py +++ b/synapse/python_dependencies.py
@@ -74,7 +74,10 @@ REQUIREMENTS = [ # Note: 21.1.0 broke `/sync`, see #9936 "attrs>=19.2.0,!=21.1.0", "netaddr>=0.7.18", - "Jinja2>=2.9", + # Jinja 2.x is incompatible with MarkupSafe>=2.1. To ensure that admins do not + # end up with a broken installation, with recent MarkupSafe but old Jinja, we + # add a lower bound to the Jinja2 dependency. + "Jinja2>=3.0", "bleach>=1.4.3", # We use `ParamSpec`, which was added in `typing-extensions` 3.10.0.0. "typing-extensions>=3.10.0",