summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-07-06 16:27:17 +0100
committerRichard van der Hoff <richard@matrix.org>2018-07-06 16:27:17 +0100
commit1464a0578a85b15459132f2b2150e5322498b3d0 (patch)
tree161eaafbbd96e0da209304be397496659d622e58
parent0.32.0 version bump, update changelog (diff)
downloadsynapse-1464a0578a85b15459132f2b2150e5322498b3d0.tar.xz
Add explicit dependency on netaddr
the dependencies file, causing failures on upgrade (and presumably for new
installs).
Diffstat (limited to '')
-rw-r--r--changelog.d/3488.bugfix1
-rw-r--r--synapse/python_dependencies.py4
2 files changed, 2 insertions, 3 deletions
diff --git a/changelog.d/3488.bugfix b/changelog.d/3488.bugfix
new file mode 100644
index 0000000000..de6fac05a5
--- /dev/null
+++ b/changelog.d/3488.bugfix
@@ -0,0 +1 @@
+Add explicit dependency on netaddr
\ No newline at end of file
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index faf6dfdb8d..7632dd50b7 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -58,15 +58,13 @@ REQUIREMENTS = {
     "six": ["six"],
     "prometheus_client": ["prometheus_client"],
     "attr": ["attr"],
+    "netaddr>=0.7.18": ["netaddr"],
 }
 
 CONDITIONAL_REQUIREMENTS = {
     "web_client": {
         "matrix_angular_sdk>=0.6.8": ["syweb>=0.6.8"],
     },
-    "preview_url": {
-        "netaddr>=0.7.18": ["netaddr"],
-    },
     "email.enable_notifs": {
         "Jinja2>=2.8": ["Jinja2>=2.8"],
         "bleach>=1.4.2": ["bleach>=1.4.2"],