From e3e7c0852acc5985501d38a9a76ffcb61255c534 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Sun, 16 Oct 2022 20:41:15 +0200 Subject: [PATCH] Drop support for Django 1.11 and for python 2.7 --- CHANGELOG.rst | 9 +++++++++ README.rst | 4 ++-- requirements.txt | 2 +- setup.py | 3 +-- tox.ini | 2 -- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f2a8071..239fb75 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,6 +6,15 @@ All notable changes to this project will be documented in this file. .. contents:: Table of Contents :depth: 2 +Unreleased +========== + +Removed +------- +* Drop support for Django 1.11 (now deprecated for more than 2 years) +* Drop support for python 2.7 (now deprecated for more than 2 years) + + v1.3.1 - 2021-07-03 =================== diff --git a/README.rst b/README.rst index 50bc8c7..7ae789a 100644 --- a/README.rst +++ b/README.rst @@ -21,7 +21,7 @@ Features * Possibility to rename/rewrite attributes per service * Possibility to require some attribute values per service * Federated mode between multiple CAS -* Supports Django 1.11, 2.2, 3.1 and 3.2 +* Supports Django 2.2, 3.1 and 3.2 * Supports Python 3.5+ Dependencies @@ -29,7 +29,7 @@ Dependencies ``django-cas-server`` depends on the following python packages: -* Django >= 1.11 < 3.3 +* Django >= 2.2 < 3.3 * requests >= 2.4 * requests_futures >= 0.9.5 * lxml >= 3.4 diff --git a/requirements.txt b/requirements.txt index ced9200..2c5e959 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Django >= 1.11,<3.3 +Django >= 2.2,<3.3 setuptools>=5.5 requests>=2.4 requests_futures>=0.9.5 diff --git a/setup.py b/setup.py index 6210936..9f289e5 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,6 @@ if __name__ == '__main__': 'Environment :: Web Environment', 'Development Status :: 5 - Production/Stable', 'Framework :: Django', - 'Framework :: Django :: 1.11', 'Framework :: Django :: 2.2', 'Framework :: Django :: 3.1', 'Framework :: Django :: 3.2', @@ -62,7 +61,7 @@ if __name__ == '__main__': }, keywords=['django', 'cas', 'cas3', 'server', 'sso', 'single sign-on', 'authentication', 'auth'], install_requires=[ - 'Django >= 1.11,<3.3', 'requests >= 2.4', 'requests_futures >= 0.9.5', + 'Django >= 2.2,<3.3', 'requests >= 2.4', 'requests_futures >= 0.9.5', 'lxml >= 3.4', 'six >= 1' ], url="https://github.com/nitmir/django-cas-server", diff --git a/tox.ini b/tox.ini index 265b4ef..568631d 100644 --- a/tox.ini +++ b/tox.ini @@ -2,8 +2,6 @@ envlist= flake8, check_rst, - py27-django111, - py3-django111, py3-django22, py3-django31, py3-django32,