Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix installing pysaml2 on Python 3.5. #8898

Merged
merged 2 commits into from
Dec 8, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/8898.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a maximum version for pysaml2 on Python 3.5.
6 changes: 5 additions & 1 deletion synapse/python_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@
# python 3.5.2, as per https://github.com/itamarst/eliot/issues/418
'eliot<1.8.0;python_version<"3.5.3"',
],
"saml2": ["pysaml2>=4.5.0"],
"saml2": [
# pysaml2 6.4.0 removed compatibility with Python 3.5.
clokep marked this conversation as resolved.
Show resolved Hide resolved
"pysaml2>=4.5.0,<6.4.0;python_version<'3.6'",
"pysaml2>=4.5.0;python_version>='3.6'",
],
"oidc": ["authlib>=0.14.0"],
"systemd": ["systemd-python>=231"],
"url_preview": ["lxml>=3.5.0"],
Expand Down