Skip to content

Commit 364e5e2

Browse files
chore: Post Django32 Cleanup (#164)
Co-authored-by: Mohammad Ahtasham ul Hassan <ahthassan74@gmail.com>
1 parent 1213832 commit 364e5e2

5 files changed

Lines changed: 24 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
os: [ubuntu-20.04]
1717
python-version: ['3.8']
18-
toxenv: [django22, django30, django31, django32, quality]
18+
toxenv: [quality, django32, django40]
1919

2020
steps:
2121
- uses: actions/checkout@v2
@@ -36,7 +36,7 @@ jobs:
3636
run: tox
3737

3838
- name: Run Coverage
39-
if: matrix.python-version == '3.8' && matrix.toxenv=='django22'
39+
if: matrix.python-version == '3.8' && matrix.toxenv=='django32'
4040
uses: codecov/codecov-action@v1
4141
with:
4242
flags: unittests

CHANGELOG.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@ Unreleased
1414

1515
*
1616

17+
[4.1.0] - 2022-01-28
18+
--------------------
19+
20+
Removed
21+
~~~~~~~
22+
23+
* Removed Django22, 30, 31
24+
25+
Added
26+
~~~~~~~
27+
* Added Django40 support in CI
28+
29+
1730
[4.0.1] - 2021-11-01
1831
--------------------
1932

auth_backends/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
These package is designed to be used primarily with Open edX Django projects, but should be compatible with non-edX
44
projects as well.
55
"""
6-
__version__ = '4.0.1' # pragma: no cover
6+
__version__ = '4.1.0' # pragma: no cover

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,8 @@ def get_version(*file_paths):
107107
'Programming Language :: Python :: 3',
108108
'Programming Language :: Python :: 3.8',
109109
'Framework :: Django',
110-
'Framework :: Django :: 2.2',
111-
'Framework :: Django :: 3.0',
112-
'Framework :: Django :: 3.1',
113110
'Framework :: Django :: 3.2',
111+
'Framework :: Django :: 4.0',
114112
'Topic :: Internet',
115113
],
116114
keywords='authentication edx',

tox.ini

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
[tox]
2-
envlist = py38-django{22,30,31,32},quality
2+
envlist = py38-django{32,40},quality
33

44
[pycodestyle]
55
max-line-length = 120
66

77
[testenv]
88
deps =
9-
django22: Django>=2.2,<2.3
10-
django30: Django>=3.0,<3.1
11-
django31: Django>=3.1,<3.2
12-
django32: Django>=3.2,<3.3
13-
-r{toxinidir}/requirements/test.txt
9+
django32: Django>=3.2,<4.0
10+
django40: Django>=4.0,<4.1
11+
-r{toxinidir}/requirements/test.txt
1412
commands =
15-
pytest {posargs}
13+
pytest {posargs}
1614

1715
[testenv:quality]
1816
commands =
19-
pycodestyle --config=.pep8 auth_backends
20-
pylint --rcfile=pylintrc auth_backends
17+
pycodestyle --config=.pep8 auth_backends
18+
pylint --rcfile=pylintrc auth_backends
2119

0 commit comments

Comments
 (0)