Skip to content

Commit

Permalink
feat: add django42 support (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq authored Oct 12, 2023
1 parent d958bc6 commit b90ce80
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
toxenv: [quality, django32, django40]
toxenv: [quality, django32, django42]
steps:
- uses: actions/checkout@v4
- name: setup python
Expand All @@ -36,7 +36,7 @@ jobs:
run: make test

- name: Run Coverage
if: matrix.python-version == '3.8' && matrix.toxenv=='django32'
if: matrix.python-version == '3.8' && matrix.toxenv=='django42'
uses: codecov/codecov-action@v3
with:
flags: unittests
Expand Down
2 changes: 1 addition & 1 deletion edx_rest_api_client/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '5.6.0'
__version__ = '5.6.1'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def is_requirement(line):
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.2',
'Topic :: Internet',
'Intended Audience :: Developers',
'Environment :: Web Environment',
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38-django{32,40}, quality
envlist = py38-django{32,42}, quality

[pytest]
DJANGO_SETTINGS_MODULE = test_settings
Expand All @@ -9,7 +9,7 @@ norecursedirs = .* docs requirements
[testenv]
deps =
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
django42: Django>=4.2,<4.3
-r{toxinidir}/requirements/test.txt
commands =
pytest {posargs}
Expand Down

0 comments on commit b90ce80

Please sign in to comment.