From e5c5e213ea44a2fbc7f5bb75e1e577fc899bbd62 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Fri, 26 Nov 2021 21:51:22 +0100 Subject: [PATCH] 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 Co-authored-by: Daniel Molkentin --- changelog.d/11439.bugfix | 1 + synapse/python_dependencies.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/11439.bugfix diff --git a/changelog.d/11439.bugfix b/changelog.d/11439.bugfix new file mode 100644 index 000000000..fc6bc82b3 --- /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 154e5b702..7d2695424 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 = {