From 85f09ca9f75442f038f97c8af40191f2c7724c73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Delobelle?= Date: Sun, 21 Oct 2018 15:43:20 +0200 Subject: [PATCH] Pin python-cas & bump allauth-cas Pin python-cas to avoid breaking login, and keep working redirection after CAS logout. --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6b8231b..d461833 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,10 @@ setup( include_package_data=True, install_requires=[ 'django-allauth', - 'django-allauth-cas>=1.0.0b2,<1.1', + 'django-allauth-cas>=1.0,<1.1', + # The version of CAS used by cas.eleves.ens.fr is unclear… + # Stick to python-cas 1.2.0 until we solve this mystery. + 'python-cas==1.2.0', 'django-widget-tweaks', 'python-ldap', ],