Skip to content

Commit

Permalink
Add Django 5.2 to tox matrix (#2064)
Browse files Browse the repository at this point in the history
* Add Django 5.2 to tox matrix

* Update changelog
  • Loading branch information
tim-schilling authored Jan 28, 2025
1 parent 5f36663 commit 16f8ff3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Change log
Pending
-------

* Added Django 5.2 to the tox matrix.

5.0.1 (2025-01-13)
------------------
* Fixing the build and release process. No functional changes.
Expand Down
13 changes: 7 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ envlist =
docs
packaging
py{39,310,311,312}-dj{42}-{sqlite,postgresql,postgis,mysql}
py{310,311,312}-dj{42,50,51,main}-{sqlite,postgresql,psycopg3,postgis,mysql}
py{313}-dj{51,main}-{sqlite,psycopg3,postgis3,mysql}
py{310,311,312}-dj{42,50,51,52}-{sqlite,postgresql,psycopg3,postgis,mysql}
py{313}-dj{51,52,main}-{sqlite,psycopg3,postgis3,mysql}

[testenv]
deps =
dj42: django~=4.2.1
dj50: django~=5.0.2
dj51: django~=5.1.0
dj52: django~=5.2.0a1
djmain: https://github.com/django/django/archive/main.tar.gz
postgresql: psycopg2-binary
psycopg3: psycopg[binary]
Expand Down Expand Up @@ -51,28 +52,28 @@ pip_pre = True
commands = python -b -W always -m coverage run -m django test -v2 {posargs:tests}


[testenv:py{39,310,311,312,313}-dj{42,50,51,main}-{postgresql,psycopg3}]
[testenv:py{39,310,311,312,313}-dj{42,50,51,52,main}-{postgresql,psycopg3}]
setenv =
{[testenv]setenv}
DB_BACKEND = postgresql
DB_PORT = {env:DB_PORT:5432}


[testenv:py{39,310,311,312,313}-dj{42,50,51,main}-{postgis,postgis3}]
[testenv:py{39,310,311,312,313}-dj{42,50,51,52,main}-{postgis,postgis3}]
setenv =
{[testenv]setenv}
DB_BACKEND = postgis
DB_PORT = {env:DB_PORT:5432}


[testenv:py{39,310,311,312,313}-dj{42,50,51,main}-mysql]
[testenv:py{39,310,311,312,313}-dj{42,50,51,52,main}-mysql]
setenv =
{[testenv]setenv}
DB_BACKEND = mysql
DB_PORT = {env:DB_PORT:3306}


[testenv:py{39,310,311,312,313}-dj{42,50,51,main}-sqlite]
[testenv:py{39,310,311,312,313}-dj{42,50,51,52,main}-sqlite]
setenv =
{[testenv]setenv}
DB_BACKEND = sqlite3
Expand Down

0 comments on commit 16f8ff3

Please sign in to comment.