Add support for Django 2.1

This commit is contained in:
Valentin Samir 2019-03-02 11:23:30 +01:00
parent 9ee95f0bec
commit 4025fcbf11
5 changed files with 26 additions and 2 deletions

View File

@ -15,6 +15,10 @@ matrix:
env: TOX_ENV=py35-django20
- python: "3.6"
env: TOX_ENV=py36-django20
- python: "3.5"
env: TOX_ENV=py35-django21
- python: "3.6"
env: TOX_ENV=py36-django21
- python: "2.7"
env: TOX_ENV=coverage
cache:

View File

@ -9,6 +9,11 @@ All notable changes to this project will be documented in this file.
Unreleased
==========
Added
-----
* Support for Django 2.1
Fixes
-----

View File

@ -1,4 +1,4 @@
Django >= 1.11,<2.1
Django >= 1.11,<2.2
setuptools>=5.5
requests>=2.4
requests_futures>=0.9.5

View File

@ -33,6 +33,7 @@ if __name__ == '__main__':
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
@ -57,7 +58,7 @@ if __name__ == '__main__':
},
keywords=['django', 'cas', 'cas3', 'server', 'sso', 'single sign-on', 'authentication', 'auth'],
install_requires=[
'Django >= 1.11,<2.1', 'requests >= 2.4', 'requests_futures >= 0.9.5',
'Django >= 1.11,<2.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
View File

@ -7,6 +7,8 @@ envlist=
py36-django111,
py35-django20,
py36-django20,
py35-django21,
py36-django21,
[flake8]
max-line-length=100
@ -104,6 +106,18 @@ deps =
Django>=2.0,<2.1
{[base]deps}
[testenv:py35-django21]
basepython=python3.5
deps =
Django>=2.1,<2.2
{[base]deps}
[testenv:py36-django21]
basepython=python3.6
deps =
Django>=2.1,<2.2
{[base]deps}
[testenv:flake8]