@@ -5,7 +5,7 @@ envlist =
5
5
packaging
6
6
py{39,310,311,312}-dj{42}-{sqlite,postgresql,postgis,mysql}
7
7
py{310,311,312}-dj{42,50,51,main}-{sqlite,postgresql,psycopg3,postgis,mysql}
8
- py{313}-dj{51,main}-{sqlite,postgresql, psycopg3,postgis ,mysql}
8
+ py{313}-dj{51,main}-{sqlite,psycopg3,mysql}
9
9
10
10
[testenv]
11
11
deps =
16
16
postgresql: psycopg2-binary
17
17
psycopg3: psycopg[binary]
18
18
postgis: psycopg2-binary
19
+ postgis3: psycopg[binary]
19
20
mysql: mysqlclient
20
21
coverage[toml]
21
22
Jinja2
@@ -50,33 +51,62 @@ pip_pre = True
50
51
commands = python -b -W always -m coverage run -m django test -v2 {posargs:tests}
51
52
52
53
53
- [testenv:py{38, 39,310,311,312,313 }-dj{42,50,51,main}-{postgresql,psycopg3}]
54
+ [testenv:py{39,310,311,312}-dj{42,50,51,main}-{postgresql,psycopg3}]
54
55
setenv =
55
56
{[testenv]setenv}
56
57
DB_BACKEND = postgresql
57
58
DB_PORT = {env:DB_PORT:5432}
58
59
59
60
60
- [testenv:py{38, 39,310,311,312,313 }-dj{42,50,51,main}-postgis]
61
+ [testenv:py{39,310,311,312}-dj{42,50,51,main}-postgis]
61
62
setenv =
62
63
{[testenv]setenv}
63
64
DB_BACKEND = postgis
64
65
DB_PORT = {env:DB_PORT:5432}
65
66
66
67
67
- [testenv:py{38, 39,310,311,312,313 }-dj{42,50,51,main}-mysql]
68
+ [testenv:py{39,310,311,312}-dj{42,50,51,main}-mysql]
68
69
setenv =
69
70
{[testenv]setenv}
70
71
DB_BACKEND = mysql
71
72
DB_PORT = {env:DB_PORT:3306}
72
73
73
74
74
- [testenv:py{38, 39,310,311,312,313 }-dj{42,50,51,main}-sqlite]
75
+ [testenv:py{39,310,311,312}-dj{42,50,51,main}-sqlite]
75
76
setenv =
76
77
{[testenv]setenv}
77
78
DB_BACKEND = sqlite3
78
79
DB_NAME = " :memory:"
79
80
81
+
82
+ [testenv:py313-dj{51,main}-psycopg3]
83
+ setenv =
84
+ {[testenv]setenv}
85
+ DB_BACKEND = postgresql
86
+ DB_PORT = {env:DB_PORT:5432}
87
+
88
+
89
+ [testenv:py313-dj{51,main}-postgis3]
90
+ setenv =
91
+ {[testenv]setenv}
92
+ DB_BACKEND = postgis
93
+ DB_PORT = {env:DB_PORT:5432}
94
+
95
+
96
+ [testenv:py313-dj{51,main}-mysql]
97
+ setenv =
98
+ {[testenv]setenv}
99
+ DB_BACKEND = mysql
100
+ DB_PORT = {env:DB_PORT:3306}
101
+
102
+
103
+ [testenv:py313-dj{51,main}-sqlite]
104
+ setenv =
105
+ {[testenv]setenv}
106
+ DB_BACKEND = sqlite3
107
+ DB_NAME = " :memory:"
108
+
109
+
80
110
[testenv:docs]
81
111
commands = make -C {toxinidir}/docs {posargs:spelling}
82
112
deps =
@@ -105,7 +135,7 @@ python =
105
135
DB_BACKEND =
106
136
mysql: mysql
107
137
postgresql: postgresql
108
- psycopg: psycopg
109
138
psycopg3: psycopg3
110
139
postgis: postgis
140
+ postgis3: postgis3
111
141
sqlite3: sqlite
0 commit comments