File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed
Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 6060 python-version : ' 3.13'
6161
6262 - name : Install dependencies
63- run : pip install -e .[testing ]
63+ run : pip install -e .[documentation ]
6464
6565 # Start mkdocs server and wait for it to be ready
6666 - run : mkdocs serve &
Original file line number Diff line number Diff line change @@ -72,6 +72,8 @@ optional-dependencies.testing = [
7272 " pytest>=7.0.1,<8" ,
7373 " pytest-cov>=4,<5" ,
7474 " pytest-django>=4.5.2,<5" ,
75+
76+ # Remove when dropping support for Django<5.0
7577 " pytz" ,
7678]
7779urls.Changelog = " https://www.django-rest-framework.org/community/release-notes/"
Original file line number Diff line number Diff line change @@ -16,30 +16,29 @@ setenv =
1616 PYTHONDONTWRITEBYTECODE =1
1717 PYTHONWARNINGS =once
1818deps =
19- django42: Django>=4.2,<5.0
20- django50: Django>=5.0,<5.1
21- django51: Django>=5.1,<5.2
22- django52: Django>=5.2,<6.0
23- django60: Django>=6.0,<6.1
24- djangomain: https://github.com/django/django/archive/main.tar.gz
25- .[testing, optional]
19+ django42: Django>=4.2,<5.0
20+ django50: Django>=5.0,<5.1
21+ django51: Django>=5.1,<5.2
22+ django52: Django>=5.2,<6.0
23+ django60: Django>=6.0,<6.1
24+ djangomain: https://github.com/django/django/archive/main.tar.gz
25+ .[testing,optional]
2626
2727[testenv:base]
2828; Ensure optional dependencies are not required
2929deps =
30- .[testing]
30+ .[testing]
3131
3232[testenv:dist]
3333commands = python -W error::DeprecationWarning -W error::PendingDeprecationWarning runtests.py --no-pkgroot --staticfiles {posargs}
3434deps =
35- .[testing, optional]
35+ .[testing,optional]
3636
3737[testenv:docs]
3838skip_install = true
3939commands = mkdocs build
4040deps =
41- .[testing, optional]
42-
41+ .[testing,documentation]
4342
4443[testenv:py312-djangomain]
4544ignore_outcome = true
You can’t perform that action at this time.
0 commit comments