From 364e5e23474f11d125b237dcd07355ca46752756 Mon Sep 17 00:00:00 2001 From: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com> Date: Fri, 28 Jan 2022 10:12:46 -0500 Subject: [PATCH] chore: Post Django32 Cleanup (#164) Co-authored-by: Mohammad Ahtasham ul Hassan --- .github/workflows/ci.yml | 4 ++-- CHANGELOG.rst | 13 +++++++++++++ auth_backends/__init__.py | 2 +- setup.py | 4 +--- tox.ini | 16 +++++++--------- 5 files changed, 24 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46ae4e42..57907992 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 5a241418..fca4d488 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 d530a938..06c82c18 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 16d9f69c..11097ada 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 77f4e157..02682f63 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