Skip to content

Commit

Permalink
Drop support for Django<3.2 and Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Jul 22, 2024
1 parent 24da9c0 commit e6b4d82
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
fail-fast: false
matrix:
include:
- python-version: 3.7
- python-version: 3.8
- python-version: 3.9
- python-version: "3.10"
Expand Down
14 changes: 1 addition & 13 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,20 @@ DJANGO_SETTINGS_MODULE = tests.settings

[tox]
envlist =
py{37,38}-dj{22}-drf{38,39,310,311}-pytest
py{37,38}-dj{30}-drf{310,311}-pytest
py{37,38,39,310,311}-dj{31,32}-drf{311,312,313,314}-pytest
py{38,39,310,311}-dj{32}-drf{311,312,313,314}-pytest
py{38,39,310,311}-dj{40,41}-drf{313,314}-pytest
py{38,39,310,311,312}-dj{42}-drf{314}-{pytest,mypy}
py{310,311,312}-dj{50}-drf{314}-{pytest,mypy}
skip_missing_interpreters = true

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
django =
2.2: dj22
3.0: dj30
3.1: dj31
3.2: dj32
4.0: dj40
4.1: dj41
Expand All @@ -35,17 +29,11 @@ setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONWARNINGS=once
deps =
dj22: Django>=2.2,<2.3
dj30: Django>=3.0,<3.1
dj31: Django>=3.1,<3.2
dj32: Django>=3.2a1,<4.0
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<5.0
dj50: Django>=5.0,<5.1
drf38: djangorestframework>=3.8.0,<3.9
drf39: djangorestframework>=3.9.0,<3.10
drf310: djangorestframework>=3.10.0,<3.11
drf311: djangorestframework>=3.11,<3.12
drf312: djangorestframework>=3.12,<3.13
drf313: djangorestframework>=3.13,<3.14
Expand Down

0 comments on commit e6b4d82

Please sign in to comment.