Skip to content

Commit

Permalink
Bump ijson dependency to 3.1 (matrix-org#11438)
Browse files Browse the repository at this point in the history
Since e81fa92, 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>
  • Loading branch information
danimo committed Nov 26, 2021
1 parent 1d8b80b commit a4cab36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/11439.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a bug introduced in 1.47.0 where `send_join` could fail due to an outdated `ijson` version.
2 changes: 1 addition & 1 deletion synapse/python_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
# 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 = {
Expand Down

0 comments on commit a4cab36

Please sign in to comment.