@@ -4,52 +4,40 @@ DJANGO_SETTINGS_MODULE = tests.settings
44
55[tox]
66envlist =
7- py{37,38}-dj{22}-drf{38, 39,310,311}-{pytest,mypy}
8- py{37,38}-dj{30} -drf{310,311}-{ pytest,mypy}
9- py{37,38,39, 310,311}-dj{31,32}-drf{311, 312,313,314}-{ pytest,mypy}
10- py{38,39, 310,311}-dj{40,41}-drf{313,314}-{ pytest,mypy}
11- py{38,39,310,311}-dj{42}-drf{314}-{pytest, mypy}
7+ py{39,310,311,312}-dj42-drf{314,315}-pytest
8+ py{310,311,312}-dj50 -drf{314,315}- pytest
9+ py{310,311, 312,313}-dj51-drf315- pytest
10+ py{310,311,312,313}-dj52-drf315- pytest
11+ py313-dj51-drf315- mypy
1212skip_missing_interpreters = true
1313
1414[gh-actions]
1515python =
16- 3.7: py37
17- 3.8: py38
1816 3.9: py39
1917 3.10: py310
2018 3.11: py311
19+ 3.12: py312
20+ 3.13: py313
2121django =
22- 2.2: dj22
23- 3.0: dj30
24- 3.1: dj31
25- 3.2: dj32
26- 4.0: dj40
27- 4.1: dj41
2822 4.2: dj42
23+ 5.0: dj50
24+ 5.1: dj51
25+ 5.2: dj52
2926
3027[testenv]
3128setenv =
3229 PYTHONDONTWRITEBYTECODE =1
3330 PYTHONWARNINGS =once
3431deps =
35- dj22: Django>=2.2,<2.3
36- dj30: Django>=3.0,<3.1
37- dj31: Django>=3.1,<3.2
38- dj32: Django>=3.2a1,<4.0
39- dj40: Django>=4.0,<4.1
40- dj41: Django>=4.1,<4.2
4132 dj42: Django>=4.2,<5.0
42- drf38: djangorestframework>=3.8.0,<3.9
43- drf39: djangorestframework>=3.9.0,<3.10
44- drf310: djangorestframework>=3.10.0,<3.11
45- drf311: djangorestframework>=3.11,<3.12
46- drf312: djangorestframework>=3.12,<3.13
47- drf313: djangorestframework>=3.13,<3.14
33+ dj50: Django>=5.0,<5.1
34+ dj51: Django>=5.1,<5.2
35+ dj52: Django>=5.2b1,<6.0
4836 drf314: djangorestframework>=3.14,<3.15
37+ drf315: djangorestframework>=3.15,<3.16
4938 pytest: -rrequirements.txt
50- mypy: git+https://github.com/typeddjango/djangorestframework-stubs.git@946c7d60aaecdc9ef307f5e1f8eb55f7083ffb16# egg=djangorestframework-stubs
51- mypy: djangorestframework-stubs
39+ mypy: djangorestframework-stubs[compatible-mypy]>=3.15,<3.16
5240commands =
5341 pytest: pytest --cov drf_writable_nested --cov-report =xml
54- mypy: mypy example
55- mypy: mypy .
42+ mypy: mypy --show-traceback example
43+ mypy: mypy --show-traceback .
0 commit comments