summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-09-25 10:43:39 +0100
committerRichard van der Hoff <richard@matrix.org>2018-09-25 10:43:39 +0100
commita9d84f4e44783bc75dd931093339636732bfbf6c (patch)
tree3bca70869d0cfb70f54b1a0659f5a05f53dc62ed
parentOnly lazy load self-members on initial sync (diff)
downloadsynapse-a9d84f4e44783bc75dd931093339636732bfbf6c.tar.xz
We require attrs 16.0.0
Ref: https://github.com/matrix-org/synapse/issues/3945
-rw-r--r--synapse/python_dependencies.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index 0d8de600cf..c779f69fa0 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -58,7 +58,9 @@ REQUIREMENTS = {
     "phonenumbers>=8.2.0": ["phonenumbers"],
     "six": ["six"],
     "prometheus_client": ["prometheus_client"],
-    "attrs": ["attr"],
+
+    # we use attr.s(slots), which arrived in 16.0.0
+    "attrs>=16.0.0": ["attr>=16.0.0"],
     "netaddr>=0.7.18": ["netaddr"],
 }