From 165d5ab3d934201f73af5736b6f62b5a0f939daf Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Wed, 15 Dec 2021 20:40:09 +0100 Subject: [PATCH 1/2] Drop support for Django 3.1 --- setup.cfg | 1 - tox.ini | 13 ++++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/setup.cfg b/setup.cfg index 82793f42a..2f4afdc90 100644 --- a/setup.cfg +++ b/setup.cfg @@ -15,7 +15,6 @@ classifiers = Environment :: Web Environment Framework :: Django Framework :: Django :: 2.2 - Framework :: Django :: 3.1 Framework :: Django :: 3.2 Framework :: Django :: 4.0 Intended Audience :: Developers diff --git a/tox.ini b/tox.ini index 13bf73037..65fea4b36 100644 --- a/tox.ini +++ b/tox.ini @@ -2,14 +2,13 @@ envlist = docs packaging - py{36,37}-dj{22,31,32}-{sqlite,postgresql,postgis,mysql} - py{38,39}-dj{22,31,32,40,main}-{sqlite,postgresql,postgis,mysql} + py{36,37}-dj{22,32}-{sqlite,postgresql,postgis,mysql} + py{38,39}-dj{22,32,40,main}-{sqlite,postgresql,postgis,mysql} py{310}-dj{32,40,main}-{sqlite,postgresql,postgis,mysql} [testenv] deps = dj22: django~=2.2.17 - dj31: django~=3.1.3 dj32: django~=3.2.9 dj40: django~=4.0.0 sqlite: mock @@ -43,25 +42,25 @@ whitelist_externals = make pip_pre = True commands = make coverage TEST_ARGS='{posargs:tests}' -[testenv:py{36,37,38,39,310}-dj{22,31,32,40,main}-postgresql] +[testenv:py{36,37,38,39,310}-dj{22,32,40,main}-postgresql] setenv = {[testenv]setenv} DB_BACKEND = postgresql DB_PORT = {env:DB_PORT:5432} -[testenv:py{36,37,38,39,310}-dj{22,31,32,40,main}-postgis] +[testenv:py{36,37,38,39,310}-dj{22,32,40,main}-postgis] setenv = {[testenv]setenv} DB_BACKEND = postgis DB_PORT = {env:DB_PORT:5432} -[testenv:py{36,37,38,39,310}-dj{22,31,32,40,main}-mysql] +[testenv:py{36,37,38,39,310}-dj{22,32,40,main}-mysql] setenv = {[testenv]setenv} DB_BACKEND = mysql DB_PORT = {env:DB_PORT:3306} -[testenv:py{36,37,38,39,310}-dj{22,31,32,40,main}-sqlite] +[testenv:py{36,37,38,39,310}-dj{22,32,40,main}-sqlite] setenv = {[testenv]setenv} DB_BACKEND = sqlite3 From 57ca08379755c4baab11d0c7d678484bf9af1682 Mon Sep 17 00:00:00 2001 From: Tim Schilling Date: Wed, 15 Dec 2021 14:54:11 -0600 Subject: [PATCH 2/2] Add mention of removing support for django 3.1 in change log. --- docs/changes.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/changes.rst b/docs/changes.rst index 025146a08..f953ce498 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -4,6 +4,8 @@ Change log Next version ------------ +* Removed support for Django 3.1. + 3.2.4 (2021-12-15) ------------------