From db07db7c67bc3777b0bd367092bf625f2f4c96dc Mon Sep 17 00:00:00 2001 From: Paolo Melchiorre Date: Wed, 15 Dec 2021 18:21:07 +0100 Subject: [PATCH] Update Django 4.0 stable versions --- setup.cfg | 1 + tox.ini | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/setup.cfg b/setup.cfg index 5cc680607..2dbccb970 100644 --- a/setup.cfg +++ b/setup.cfg @@ -17,6 +17,7 @@ classifiers = Framework :: Django :: 2.2 Framework :: Django :: 3.1 Framework :: Django :: 3.2 + Framework :: Django :: 4.0 Intended Audience :: Developers License :: OSI Approved :: BSD License Operating System :: OS Independent diff --git a/tox.ini b/tox.ini index 3abd404bc..5d5e6b86e 100644 --- a/tox.ini +++ b/tox.ini @@ -8,10 +8,10 @@ envlist = [testenv] deps = - dj22: Django==2.2.* - dj31: Django==3.1.* - dj32: Django>=3.2,<4.0 - dj40: Django>=4.0rc1,<4.1 + dj22: django~=2.2.17 + dj31: django~=3.1.3 + dj32: django~=3.2.9 + dj40: django~=4.0.0 sqlite: mock postgresql: psycopg2-binary postgis: psycopg2-binary @@ -43,19 +43,19 @@ whitelist_externals = make pip_pre = True commands = make coverage TEST_ARGS='{posargs:tests}' -[testenv:py{36,37,38,39,310}-dj{22,31,32}-postgresql] +[testenv:py{36,37,38,39,310}-dj{22,31,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}-mysql] +[testenv:py{36,37,38,39,310}-dj{22,31,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,main}-sqlite] +[testenv:py{36,37,38,39,310}-dj{22,31,32,40,main}-sqlite] setenv = {[testenv]setenv} DB_BACKEND = sqlite3