diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46ae4e4..5790799 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: matrix: os: [ubuntu-20.04] python-version: ['3.8'] - toxenv: [django22, django30, django31, django32, quality] + toxenv: [quality, django32, django40] steps: - uses: actions/checkout@v2 @@ -36,7 +36,7 @@ jobs: run: tox - name: Run Coverage - if: matrix.python-version == '3.8' && matrix.toxenv=='django22' + if: matrix.python-version == '3.8' && matrix.toxenv=='django32' uses: codecov/codecov-action@v1 with: flags: unittests diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5a24141..fca4d48 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -14,6 +14,19 @@ Unreleased * +[4.1.0] - 2022-01-28 +-------------------- + +Removed +~~~~~~~ + +* Removed Django22, 30, 31 + +Added +~~~~~~~ +* Added Django40 support in CI + + [4.0.1] - 2021-11-01 -------------------- diff --git a/auth_backends/__init__.py b/auth_backends/__init__.py index d530a93..06c82c1 100644 --- a/auth_backends/__init__.py +++ b/auth_backends/__init__.py @@ -3,4 +3,4 @@ These package is designed to be used primarily with Open edX Django projects, but should be compatible with non-edX projects as well. """ -__version__ = '4.0.1' # pragma: no cover +__version__ = '4.1.0' # pragma: no cover diff --git a/setup.py b/setup.py index 16d9f69..11097ad 100644 --- a/setup.py +++ b/setup.py @@ -107,10 +107,8 @@ def get_version(*file_paths): 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.8', 'Framework :: Django', - 'Framework :: Django :: 2.2', - 'Framework :: Django :: 3.0', - 'Framework :: Django :: 3.1', 'Framework :: Django :: 3.2', + 'Framework :: Django :: 4.0', 'Topic :: Internet', ], keywords='authentication edx', diff --git a/tox.ini b/tox.ini index 77f4e15..02682f6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,21 +1,19 @@ [tox] -envlist = py38-django{22,30,31,32},quality +envlist = py38-django{32,40},quality [pycodestyle] max-line-length = 120 [testenv] deps = - django22: Django>=2.2,<2.3 - django30: Django>=3.0,<3.1 - django31: Django>=3.1,<3.2 - django32: Django>=3.2,<3.3 - -r{toxinidir}/requirements/test.txt + django32: Django>=3.2,<4.0 + django40: Django>=4.0,<4.1 + -r{toxinidir}/requirements/test.txt commands = - pytest {posargs} + pytest {posargs} [testenv:quality] commands = - pycodestyle --config=.pep8 auth_backends - pylint --rcfile=pylintrc auth_backends + pycodestyle --config=.pep8 auth_backends + pylint --rcfile=pylintrc auth_backends