mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-29 15:39:00 +03:00
Fix installing pysaml2 on Python 3.5. (#8898)
This pins pysaml2 to < 6.4.0 on Python 3.5, as the last known working version.
This commit is contained in:
parent
3ce2f303f1
commit
0eb9b2f866
2 changed files with 6 additions and 1 deletions
1
changelog.d/8898.misc
Normal file
1
changelog.d/8898.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Add a maximum version for pysaml2 on Python 3.5.
|
|
@ -99,7 +99,11 @@ CONDITIONAL_REQUIREMENTS = {
|
||||||
# python 3.5.2, as per https://github.com/itamarst/eliot/issues/418
|
# python 3.5.2, as per https://github.com/itamarst/eliot/issues/418
|
||||||
'eliot<1.8.0;python_version<"3.5.3"',
|
'eliot<1.8.0;python_version<"3.5.3"',
|
||||||
],
|
],
|
||||||
"saml2": ["pysaml2>=4.5.0"],
|
"saml2": [
|
||||||
|
# pysaml2 6.4.0 is incompatible with Python 3.5 (see https://github.com/IdentityPython/pysaml2/issues/749)
|
||||||
|
"pysaml2>=4.5.0,<6.4.0;python_version<'3.6'",
|
||||||
|
"pysaml2>=4.5.0;python_version>='3.6'",
|
||||||
|
],
|
||||||
"oidc": ["authlib>=0.14.0"],
|
"oidc": ["authlib>=0.14.0"],
|
||||||
"systemd": ["systemd-python>=231"],
|
"systemd": ["systemd-python>=231"],
|
||||||
"url_preview": ["lxml>=3.5.0"],
|
"url_preview": ["lxml>=3.5.0"],
|
||||||
|
|
Loading…
Reference in a new issue