Skip to content

Commit a6b00f2

Browse files
authored
Added testing on Django 5.1 (#512)
1 parent 085fb2b commit a6b00f2

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/test.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Python
1515
uses: actions/setup-python@v4
1616
with:
17-
python-version: '3.11'
17+
python-version: '3.12'
1818
architecture: x64
1919
- name: Install tox
2020
run: |
@@ -49,6 +49,7 @@ jobs:
4949
- '3.10'
5050
- '3.11'
5151
- '3.12'
52+
- '3.13'
5253
name: Python ${{ matrix.python-version }}
5354
steps:
5455
- uses: actions/checkout@v4

tox.ini

+6-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ envlist =
66
{py38,py39,py310,py311,pypy39}-django-4.1
77
{py38,py39,py310,py311,pypy39}-django-4.2
88
{py310,py311,py312}-django-5.0
9-
{py310,py311,py312}-django-main
9+
{py310,py311,py312,py313}-django-5.1
10+
{py310,py311,py312,py313}-django-main
1011

1112
[testenv]
1213
basepython =
@@ -15,6 +16,7 @@ basepython =
1516
py310: python3.10
1617
py311: python3.11
1718
py312: python3.12
19+
py313: python3.13
1820
pypy39: pypy3.9
1921
usedevelop = true
2022
pip_pre = true
@@ -26,15 +28,16 @@ deps =
2628
django-3.2: Django>=3.2,<3.3
2729
django-4.1: Django>=4.1,<4.2
2830
django-4.2: Django>=4.2,<4.3
29-
django-5.0: Django>=5.0rc1,<5.1
31+
django-5.0: Django>=5.0,<5.1
32+
django-5.1: Django>=5.1,<5.2
3033
django-main: https://github.com/django/django/archive/main.tar.gz
3134
-r{toxinidir}/tests/requirements.txt
3235

3336
[testenv:docs]
3437
deps =
3538
Sphinx>=1.3
3639
-r{toxinidir}/docs/requirements.txt
37-
basepython = python3.11
40+
basepython = python3.12
3841
commands =
3942
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
4043

0 commit comments

Comments
 (0)