summary refs log tree commit diff
path: root/synapse/python_dependencies.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-09-01 08:16:58 -0400
committerGitHub <noreply@github.com>2020-09-01 08:16:58 -0400
commit318245eaa6d37a27ca72168356198fdd90abfbb7 (patch)
tree4a86ef7c7db70eae15d9c56c73cddeae243593f8 /synapse/python_dependencies.py
parentMove and rename `get_devices_with_keys_by_user` (#8204) (diff)
downloadsynapse-318245eaa6d37a27ca72168356198fdd90abfbb7.tar.xz
Do not install setuptools 50.0. (#8212)
This is due to compatibility issues with old Python versions.
Diffstat (limited to 'synapse/python_dependencies.py')
-rw-r--r--synapse/python_dependencies.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index 2d995ec456..d666f22674 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -74,6 +74,10 @@ REQUIREMENTS = [
     "Jinja2>=2.9",
     "bleach>=1.4.3",
     "typing-extensions>=3.7.4",
+    # setuptools is required by a variety of dependencies, unfortunately version
+    # 50.0 is incompatible with older Python versions, see
+    # https://github.com/pypa/setuptools/issues/2352
+    "setuptools!=50.0",
 ]
 
 CONDITIONAL_REQUIREMENTS = {