From e6b4d82cd335543556f014ed18940086b8b5d2f7 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Mon, 22 Jul 2024 09:01:10 +0200 Subject: [PATCH] Drop support for Django<3.2 and Python 3.7 --- .github/workflows/build.yaml | 1 - tox.ini | 14 +------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5d21ff0..d018879 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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" diff --git a/tox.ini b/tox.ini index 4aa997c..f237c61 100644 --- a/tox.ini +++ b/tox.ini @@ -4,9 +4,7 @@ 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} @@ -14,16 +12,12 @@ 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 @@ -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