Skip to content

Commit

Permalink
drop support for dj2, dj3.1, drf311, drf312. add support for drf 315
Browse files Browse the repository at this point in the history
  • Loading branch information
suavesav committed Mar 26, 2024
1 parent 3063dfb commit 5e73be8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions install_requires.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Django>=2.2,<4.3
djangorestframework>=3.11.2,<3.15
Django>=3.2,<4.3
djangorestframework>=3.13,<3.16
inflection>=0.4.0
requests
hashids>=1.3.1
Expand Down
12 changes: 5 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,21 @@ addopts=--tb=short
[tox]
envlist =
py310-lint,
{py37,py38,py39,py310}-django{22,31,32,40,41,42}-drf{311,312,313,314},
{py37,py38,py39,py310}-django{32}-drf{313,314},
{py37,py38,py39,py310}-django{40,41,42}-drf{313,314,315},

[testenv]
commands = ./runtests.py --fast {posargs} --coverage -rw
setenv =
PYTHONDONTWRITEBYTECODE=1
deps =
django22: Django>=2.2,<2.3
django31: Django>=3.1,<3.2
django32: Django>=3.2,<3.3
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
drf311: djangorestframework>=3.11.2,<3.12
drf312: djangorestframework>=3.12,<3.13
drf313: djangorestframework>=3.13,<3.14
drf314: djangorestframework>=3.14,<3.15
drf315: djangorestframework>=3.15,<3.16
-rrequirements.txt

[testenv:py310-lint]
Expand All @@ -30,6 +28,6 @@ deps = -rrequirements.txt
[testenv:py310-drf314-benchmarks]
commands = ./runtests.py --benchmarks
deps =
Django==4.2.1
djangorestframework==3.14
Django==4.2.11
djangorestframework==3.15.1
-rrequirements.benchmark.txt

0 comments on commit 5e73be8

Please sign in to comment.