diff --git a/pyproject.toml b/pyproject.toml index b092e24..f710fbb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ classifiers = [ "Environment :: Web Environment :: Mozilla", "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", + "Framework :: Django :: 5.1", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", diff --git a/tox.ini b/tox.ini index b993c17..6f4feee 100644 --- a/tox.ini +++ b/tox.ini @@ -1,15 +1,14 @@ [tox] isolated_build = True envlist = - {3.10,3.11,3.12,pypy310}-main - {3.10,3.11,3.12,pypy310}-5.0.x - {3.8,3.9,3.10,3.11,3.12,pypy38,pypy39,pypy310}-4.2.x + {3.10,3.11,3.12,pypy310}-dj{4.2,5.0,5.1,main} + {3.8,3.9,3.10,3.11,3.12,pypy38,pypy39,pypy310}-dj4.2 {3.8,3.9,3.10,3.11,3.12,pypy38,pypy39,pypy310}-types # Don't run coverage when testing with pypy: # see https://github.com/nedbat/coveragepy/issues/1382 -[testenv:pypy310-main,pypy310-5.0.x,{pypy38,pypy39,pypy310}-4.2.x] +[testenv:pypy{38,39,310}-dj4.2,pypy310-dj{5.0,5.1,main}] commands = pip install --upgrade pip pip install -e .[tests] @@ -43,9 +42,10 @@ basepython = deps = pytest - 4.2.x: Django>=4.2,<4.3 - 5.0.x: Django>=5.0.1,<5.1 - main: https://github.com/django/django/archive/main.tar.gz + dj4.2: Django>=4.2,<4.3 + dj5.0: Django>=5.0.1,<5.1 + dj5.1: Django>=5.1,<5.2 + djmain: https://github.com/django/django/archive/main.tar.gz [gh-actions]