summary refs log tree commit diff
path: root/synapse/python_dependencies.py
diff options
context:
space:
mode:
authorAaron Raimist <aaron@raim.ist>2021-08-26 11:07:58 -0500
committerGitHub <noreply@github.com>2021-08-26 17:07:58 +0100
commit40f619eaa54d2391deccec473fc0f655c379e766 (patch)
treeb6c4e3f1ece03cd04584f8680f945f4a6c61ea19 /synapse/python_dependencies.py
parentRemove pushers when deleting 3pid from account (#10581) (diff)
downloadsynapse-40f619eaa54d2391deccec473fc0f655c379e766.tar.xz
Validate new m.room.power_levels events (#10232)
Signed-off-by: Aaron Raimist <aaron@raim.ist>
Diffstat (limited to 'synapse/python_dependencies.py')
-rw-r--r--synapse/python_dependencies.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index cdcbdd772b..154e5b7028 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -48,7 +48,8 @@ logger = logging.getLogger(__name__)
 # [1] https://pip.pypa.io/en/stable/reference/pip_install/#requirement-specifiers.
 
 REQUIREMENTS = [
-    "jsonschema>=2.5.1",
+    # we use the TYPE_CHECKER.redefine method added in jsonschema 3.0.0
+    "jsonschema>=3.0.0",
     "frozendict>=1",
     "unpaddedbase64>=1.1.0",
     "canonicaljson>=1.4.0",