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

Commit

Permalink
Fix installing pysaml2 on Python 3.5. (#8898)
Browse files Browse the repository at this point in the history
This pins pysaml2 to < 6.4.0 on Python 3.5, as the last known working version.
  • Loading branch information
clokep authored Dec 8, 2020
1 parent 2602514 commit 1a95530
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
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 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"],
"systemd": ["systemd-python>=231"],
"url_preview": ["lxml>=3.5.0"],
Expand Down

0 comments on commit 1a95530

Please sign in to comment.