summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel@molkentin.de>2021-11-26 21:51:22 +0100
committerGitHub <noreply@github.com>2021-11-26 20:51:22 +0000
commite5c5e213ea44a2fbc7f5bb75e1e577fc899bbd62 (patch)
tree28f1de0acf768f99c35ecb3a352a367a3b085fd1
parentUpdate MSC2918 refresh token support to confirm with the latest revision: acc... (diff)
downloadsynapse-e5c5e213ea44a2fbc7f5bb75e1e577fc899bbd62.tar.xz
Bump ijson dependency to 3.1 (#11438) (#11439)
Since e81fa9264873369653171157514ff68226491fff, Synapse depends on
the use_float flag which has been introduced in ijson 3.1 and
is not available in 3.0. This is known to cause runtime errors
with send_join.

Signed-off-by: Daniel Molkentin <danimo@infra.run>

Co-authored-by: Daniel Molkentin <danimo@infra.run>
-rw-r--r--changelog.d/11439.bugfix1
-rw-r--r--synapse/python_dependencies.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/11439.bugfix b/changelog.d/11439.bugfix
new file mode 100644
index 0000000000..fc6bc82b36
--- /dev/null
+++ b/changelog.d/11439.bugfix
@@ -0,0 +1 @@
+Fix a bug introduced in 1.47.0 where `send_join` could fail due to an outdated `ijson` version.
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index 154e5b7028..7d26954244 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -86,7 +86,7 @@ REQUIREMENTS = [
     # We enforce that we have a `cryptography` version that bundles an `openssl`
     # with the latest security patches.
     "cryptography>=3.4.7",
-    "ijson>=3.0",
+    "ijson>=3.1",
 ]
 
 CONDITIONAL_REQUIREMENTS = {