Add support for Django 4.0 and 4.2. Fix #81
This commit is contained in:
parent
e3e7c0852a
commit
6212ba5f2a
4 changed files with 20 additions and 2 deletions
|
@ -9,6 +9,10 @@ All notable changes to this project will be documented in this file.
|
|||
Unreleased
|
||||
==========
|
||||
|
||||
Added
|
||||
-----
|
||||
* Support for Django 4.0 and 4.1
|
||||
|
||||
Removed
|
||||
-------
|
||||
* Drop support for Django 1.11 (now deprecated for more than 2 years)
|
||||
|
|
|
@ -29,7 +29,7 @@ Dependencies
|
|||
|
||||
``django-cas-server`` depends on the following python packages:
|
||||
|
||||
* Django >= 2.2 < 3.3
|
||||
* Django >= 2.2 < 4.2
|
||||
* requests >= 2.4
|
||||
* requests_futures >= 0.9.5
|
||||
* lxml >= 3.4
|
||||
|
|
2
setup.py
2
setup.py
|
@ -61,7 +61,7 @@ if __name__ == '__main__':
|
|||
},
|
||||
keywords=['django', 'cas', 'cas3', 'server', 'sso', 'single sign-on', 'authentication', 'auth'],
|
||||
install_requires=[
|
||||
'Django >= 2.2,<3.3', 'requests >= 2.4', 'requests_futures >= 0.9.5',
|
||||
'Django >= 2.2,<4.2', 'requests >= 2.4', 'requests_futures >= 0.9.5',
|
||||
'lxml >= 3.4', 'six >= 1'
|
||||
],
|
||||
url="https://github.com/nitmir/django-cas-server",
|
||||
|
|
14
tox.ini
14
tox.ini
|
@ -5,6 +5,8 @@ envlist=
|
|||
py3-django22,
|
||||
py3-django31,
|
||||
py3-django32,
|
||||
py3-django40,
|
||||
py3-django41,
|
||||
|
||||
##################
|
||||
# generic config #
|
||||
|
@ -115,6 +117,18 @@ deps =
|
|||
Django>=3.2,<3.3
|
||||
{[base]deps}
|
||||
|
||||
[testenv:py3-django40]
|
||||
basepython=python3
|
||||
deps =
|
||||
Django>=4.0,<4.1
|
||||
{[base]deps}
|
||||
|
||||
[testenv:py3-django41]
|
||||
basepython=python3
|
||||
deps =
|
||||
Django>=4.1,<4.2
|
||||
{[base]deps}
|
||||
|
||||
#########################
|
||||
# Debian strech support #
|
||||
#########################
|
||||
|
|
Loading…
Add table
Reference in a new issue