From f37be3b283626d87c8db4a09afd90413f4c56a13 Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Thu, 12 Sep 2024 08:14:26 -0700 Subject: [PATCH] Add Django 5.1 to the test matrix --- pyproject.toml | 1 + tox.ini | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) 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]