summary refs log tree commit diff
path: root/synapse/python_dependencies.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-03-09 11:54:56 +0000
committerErik Johnston <erik@matrix.org>2016-03-09 11:54:56 +0000
commit07cf96ebf7c806ba570d167e200e54e07034f5ce (patch)
treeafb6d7596c525c0da1bb5cba132dbec021ad8edb /synapse/python_dependencies.py
parentEnsure integer is an integer (diff)
downloadsynapse-07cf96ebf7c806ba570d167e200e54e07034f5ce.tar.xz
Pin pysaml2 version to 3.x
This is due to the fact that `from saml2 import config` fails in version
4.x
Diffstat (limited to '')
-rw-r--r--synapse/python_dependencies.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index 35933324a4..0a6043ae8d 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -34,7 +34,7 @@ REQUIREMENTS = {
     "pydenticon": ["pydenticon"],
     "ujson": ["ujson"],
     "blist": ["blist"],
-    "pysaml2": ["saml2"],
+    "pysaml2>=3.0.0,<4.0.0": ["saml2>=3.0.0,<4.0.0"],
     "pymacaroons-pynacl": ["pymacaroons"],
 }
 CONDITIONAL_REQUIREMENTS = {