Skip to content

Commit 091cb14

Browse files
authored
Add the upcoming Django 4.1 to the CI matrix (#1623)
1 parent 99d4884 commit 091cb14

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tox.ini

+6-5
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ envlist =
33
docs
44
packaging
55
py{37}-dj{32}-{sqlite,postgresql,postgis,mysql}
6-
py{38,39,310}-dj{32,40,main}-{sqlite,postgresql,postgis,mysql}
6+
py{38,39,310}-dj{32,40,41,main}-{sqlite,postgresql,postgis,mysql}
77

88
[testenv]
99
deps =
1010
dj32: django~=3.2.9
1111
dj40: django~=4.0.0
12+
dj41: django>=4.1a1,<4.2
1213
postgresql: psycopg2-binary
1314
postgis: psycopg2-binary
1415
mysql: mysqlclient
@@ -41,25 +42,25 @@ whitelist_externals = make
4142
pip_pre = True
4243
commands = python -b -W always -m coverage run -m django test -v2 {posargs:tests}
4344

44-
[testenv:py{37,38,39,310}-dj{40,main}-postgresql]
45+
[testenv:py{37,38,39,310}-dj{40,41,main}-postgresql]
4546
setenv =
4647
{[testenv]setenv}
4748
DB_BACKEND = postgresql
4849
DB_PORT = {env:DB_PORT:5432}
4950

50-
[testenv:py{37,38,39,310}-dj{32,40,main}-postgis]
51+
[testenv:py{37,38,39,310}-dj{32,40,41,main}-postgis]
5152
setenv =
5253
{[testenv]setenv}
5354
DB_BACKEND = postgis
5455
DB_PORT = {env:DB_PORT:5432}
5556

56-
[testenv:py{37,38,39,310}-dj{32,40,main}-mysql]
57+
[testenv:py{37,38,39,310}-dj{32,40,41,main}-mysql]
5758
setenv =
5859
{[testenv]setenv}
5960
DB_BACKEND = mysql
6061
DB_PORT = {env:DB_PORT:3306}
6162

62-
[testenv:py{37,38,39,310}-dj{32,40,main}-sqlite]
63+
[testenv:py{37,38,39,310}-dj{32,40,41,main}-sqlite]
6364
setenv =
6465
{[testenv]setenv}
6566
DB_BACKEND = sqlite3

0 commit comments

Comments
 (0)