Skip to content

Commit

Permalink
Add Django 5.1 to the test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
robhudson committed Sep 12, 2024
1 parent 35341b2 commit f0b40f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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]
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit f0b40f6

Please sign in to comment.