Skip to content

Commit

Permalink
chore: Post Django32 Cleanup (#164)
Browse files Browse the repository at this point in the history
Co-authored-by: Mohammad Ahtasham ul Hassan <ahthassan74@gmail.com>
  • Loading branch information
edx-requirements-bot and aht007 committed Jan 28, 2022
1 parent 1213832 commit 364e5e2
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -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
Expand All @@ -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
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.rst
Expand Up @@ -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
--------------------

Expand Down
2 changes: 1 addition & 1 deletion auth_backends/__init__.py
Expand Up @@ -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
4 changes: 1 addition & 3 deletions setup.py
Expand Up @@ -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',
Expand Down
16 changes: 7 additions & 9 deletions 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

0 comments on commit 364e5e2

Please sign in to comment.