From 07cf96ebf7c806ba570d167e200e54e07034f5ce Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 9 Mar 2016 11:54:56 +0000 Subject: [PATCH] Pin pysaml2 version to 3.x This is due to the fact that `from saml2 import config` fails in version 4.x --- synapse/python_dependencies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py index 35933324a..0a6043ae8 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 = {