-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #217 from openedx/zshkoor/django42
feat: upgrade to django 4.2
- Loading branch information
Showing
5 changed files
with
24 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,44 @@ | ||
[tox] | ||
envlist = py38-django{32,40}-drf{312, latest}, quality | ||
envlist = | ||
py38-django{32}-drf{312, latest} | ||
py38-django{42}-drf{latest} # Django 4.2 is not supported by DRF < 3.14 | ||
quality | ||
|
||
[pytest] | ||
DJANGO_SETTINGS_MODULE = test_settings | ||
addopts = --cov edx_api_doc_tools --cov-report term-missing --cov-report xml | ||
norecursedirs = .* docs requirements | ||
|
||
[testenv] | ||
deps = | ||
deps = | ||
django32: Django>=3.2,<4.0 | ||
django40: Django>=4.0,<4.1 | ||
drf312: djangorestframework>=3.12,<3.13 | ||
django42: Django>=4.2,<4.3 | ||
drf312: djangorestframework>=3.13,<3.14 | ||
drflatest: djangorestframework | ||
-r{toxinidir}/requirements/test.txt | ||
commands = | ||
commands = | ||
pytest {posargs} | ||
|
||
[testenv:docs] | ||
setenv = | ||
setenv = | ||
DJANGO_SETTINGS_MODULE = test_settings | ||
PYTHONPATH = {toxinidir} | ||
allowlist_externals = | ||
allowlist_externals = | ||
make | ||
rm | ||
deps = | ||
deps = | ||
-r{toxinidir}/requirements/doc.txt | ||
commands = | ||
commands = | ||
make build_docs | ||
|
||
[testenv:quality] | ||
setenv = | ||
setenv = | ||
PYTHONPATH = {toxinidir} | ||
allowlist_externals = | ||
allowlist_externals = | ||
make | ||
rm | ||
deps = | ||
deps = | ||
-r{toxinidir}/requirements/quality.txt | ||
commands = | ||
commands = | ||
make quality | ||
|