summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-12-21 17:26:04 +0000
committerGitHub <noreply@github.com>2021-12-21 17:26:04 +0000
commit2bf31f7807c7a0c229170803c97090d612dc16f9 (patch)
treeb15627e1e43ea9c6b6c12537624ab6be871a71a6
parentAdd notes about dropping support for Python 3.6 and Postgres 9.6. (diff)
downloadsynapse-2bf31f7807c7a0c229170803c97090d612dc16f9.tar.xz
Pin to frozendict<2.1.2 (#11625)
... to work around breakage on buster
(https://github.com/Marco-Sulla/python-frozendict/issues/41)
Diffstat (limited to '')
-rw-r--r--changelog.d/11625.misc1
-rw-r--r--synapse/python_dependencies.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/changelog.d/11625.misc b/changelog.d/11625.misc
new file mode 100644
index 0000000000..82ee78e724
--- /dev/null
+++ b/changelog.d/11625.misc
@@ -0,0 +1 @@
+Work around a build problem on Debian Buster.
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index 7d26954244..13fb69460e 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -50,7 +50,8 @@ logger = logging.getLogger(__name__)
 REQUIREMENTS = [
     # we use the TYPE_CHECKER.redefine method added in jsonschema 3.0.0
     "jsonschema>=3.0.0",
-    "frozendict>=1",
+    # frozendict 2.1.2 is broken on Debian 10: https://github.com/Marco-Sulla/python-frozendict/issues/41
+    "frozendict>=1,<2.1.2",
     "unpaddedbase64>=1.1.0",
     "canonicaljson>=1.4.0",
     # we use the type definitions added in signedjson 1.1.