mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-12-15 06:04:00 +03:00
updated tox.ini
This commit is contained in:
parent
fff5e24179
commit
b883295d37
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -60,7 +60,7 @@ jobs:
|
|||
python-version: '3.13'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -e .[testing]
|
||||
run: pip install -e .[documentation]
|
||||
|
||||
# Start mkdocs server and wait for it to be ready
|
||||
- run: mkdocs serve &
|
||||
|
|
|
|||
|
|
@ -72,6 +72,8 @@ optional-dependencies.testing = [
|
|||
"pytest>=7.0.1,<8",
|
||||
"pytest-cov>=4,<5",
|
||||
"pytest-django>=4.5.2,<5",
|
||||
|
||||
# Remove when dropping support for Django<5.0
|
||||
"pytz",
|
||||
]
|
||||
urls.Changelog = "https://www.django-rest-framework.org/community/release-notes/"
|
||||
|
|
|
|||
21
tox.ini
21
tox.ini
|
|
@ -16,30 +16,29 @@ setenv =
|
|||
PYTHONDONTWRITEBYTECODE=1
|
||||
PYTHONWARNINGS=once
|
||||
deps =
|
||||
django42: Django>=4.2,<5.0
|
||||
django50: Django>=5.0,<5.1
|
||||
django51: Django>=5.1,<5.2
|
||||
django52: Django>=5.2,<6.0
|
||||
django60: Django>=6.0,<6.1
|
||||
djangomain: https://github.com/django/django/archive/main.tar.gz
|
||||
.[testing, optional]
|
||||
django42: Django>=4.2,<5.0
|
||||
django50: Django>=5.0,<5.1
|
||||
django51: Django>=5.1,<5.2
|
||||
django52: Django>=5.2,<6.0
|
||||
django60: Django>=6.0,<6.1
|
||||
djangomain: https://github.com/django/django/archive/main.tar.gz
|
||||
.[testing,optional]
|
||||
|
||||
[testenv:base]
|
||||
; Ensure optional dependencies are not required
|
||||
deps =
|
||||
.[testing]
|
||||
.[testing]
|
||||
|
||||
[testenv:dist]
|
||||
commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning runtests.py --no-pkgroot --staticfiles {posargs}
|
||||
deps =
|
||||
.[testing, optional]
|
||||
.[testing,optional]
|
||||
|
||||
[testenv:docs]
|
||||
skip_install = true
|
||||
commands = mkdocs build
|
||||
deps =
|
||||
.[testing, optional]
|
||||
|
||||
.[testing,documentation]
|
||||
|
||||
[testenv:py312-djangomain]
|
||||
ignore_outcome = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user