Skip to content

Commit bd7c61b

Browse files
committed
Add Django 5.1 to the CI matrix
1 parent 3ef6e69 commit bd7c61b

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

docs/changes.rst

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Change log
44
Pending
55
-------
66

7+
* Added Django 5.1 to the CI matrix.
78
* Support select and explain buttons for ``UNION`` queries on PostgreSQL.
89
* Fixed internal toolbar requests being instrumented if the Django setting
910
``FORCE_SCRIPT_NAME`` was set.

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ classifiers = [
1919
"Framework :: Django",
2020
"Framework :: Django :: 4.2",
2121
"Framework :: Django :: 5.0",
22+
"Framework :: Django :: 5.1",
2223
"Intended Audience :: Developers",
2324
"License :: OSI Approved :: BSD License",
2425
"Operating System :: OS Independent",

tox.ini

+6-5
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ envlist =
44
docs
55
packaging
66
py{38,39,310,311,312}-dj{42}-{sqlite,postgresql,postgis,mysql}
7-
py{310,311,312}-dj{42,50,main}-{sqlite,postgresql,psycopg3,postgis,mysql}
7+
py{310,311,312}-dj{42,50,51,main}-{sqlite,postgresql,psycopg3,postgis,mysql}
88

99
[testenv]
1010
deps =
1111
dj42: django~=4.2.1
1212
dj50: django~=5.0.2
13+
dj51: django~=5.1.0
1314
djmain: https://github.com/django/django/archive/main.tar.gz
1415
postgresql: psycopg2-binary
1516
psycopg3: psycopg[binary]
@@ -48,28 +49,28 @@ pip_pre = True
4849
commands = python -b -W always -m coverage run -m django test -v2 {posargs:tests}
4950

5051

51-
[testenv:py{38,39,310,311,312}-dj{42,50,main}-{postgresql,psycopg3}]
52+
[testenv:py{38,39,310,311,312}-dj{42,50,51,main}-{postgresql,psycopg3}]
5253
setenv =
5354
{[testenv]setenv}
5455
DB_BACKEND = postgresql
5556
DB_PORT = {env:DB_PORT:5432}
5657

5758

58-
[testenv:py{38,39,310,311,312}-dj{42,50,main}-postgis]
59+
[testenv:py{38,39,310,311,312}-dj{42,50,51,main}-postgis]
5960
setenv =
6061
{[testenv]setenv}
6162
DB_BACKEND = postgis
6263
DB_PORT = {env:DB_PORT:5432}
6364

6465

65-
[testenv:py{38,39,310,311,312}-dj{42,50,main}-mysql]
66+
[testenv:py{38,39,310,311,312}-dj{42,50,51,main}-mysql]
6667
setenv =
6768
{[testenv]setenv}
6869
DB_BACKEND = mysql
6970
DB_PORT = {env:DB_PORT:3306}
7071

7172

72-
[testenv:py{38,39,310,311,312}-dj{42,50,main}-sqlite]
73+
[testenv:py{38,39,310,311,312}-dj{42,50,51,main}-sqlite]
7374
setenv =
7475
{[testenv]setenv}
7576
DB_BACKEND = sqlite3

0 commit comments

Comments
 (0)