Skip to content

Commit 97378b2

Browse files
committed
Add official support for Django 5.1 and Python 3.13
1 parent 984d151 commit 97378b2

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- python-version: "3.10"
1616
- python-version: "3.11"
1717
- python-version: "3.12"
18+
- python-version: "3.13"
1819

1920
env:
2021
PYTHON: ${{ matrix.python-version }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ The following relations are supported:
1717
Requirements
1818
============
1919

20-
- Python (3.9, 3.10, 3.11, 3.12)
21-
- Django (4.2, 5.0)
20+
- Python (3.9, 3.10, 3.11, 3.12, 3.13)
21+
- Django (4.2, 5.0, 5.1)
2222
- djangorestframework (3.14+)
2323

2424
Installation

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def get_version(package):
4646
'Framework :: Django',
4747
'Framework :: Django :: 4.2',
4848
'Framework :: Django :: 5.0',
49+
'Framework :: Django :: 5.1',
4950
'Intended Audience :: Developers',
5051
'License :: OSI Approved :: BSD License',
5152
'Operating System :: OS Independent',
@@ -56,6 +57,7 @@ def get_version(package):
5657
'Programming Language :: Python :: 3.10',
5758
'Programming Language :: Python :: 3.11',
5859
'Programming Language :: Python :: 3.12',
60+
'Programming Language :: Python :: 3.13',
5961
'Topic :: Internet :: WWW/HTTP',
6062
]
6163
)

tox.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ DJANGO_SETTINGS_MODULE = tests.settings
66
envlist =
77
py{39,310,311,312}-dj42-drf{314,315}-pytest
88
py{310,311,312}-dj50-drf{314,315}-pytest
9+
py{310,311,312,313}-dj51-drf315-pytest
910
py312-dj50-drf315-mypy
1011
skip_missing_interpreters = true
1112

@@ -15,9 +16,11 @@ python =
1516
3.10: py310
1617
3.11: py311
1718
3.12: py312
19+
3.13: py313
1820
django =
1921
4.2: dj42
2022
5.0: dj50
23+
5.1: dj51
2124

2225
[testenv]
2326
setenv =
@@ -26,6 +29,7 @@ setenv =
2629
deps =
2730
dj42: Django>=4.2,<5.0
2831
dj50: Django>=5.0,<5.1
32+
dj51: Django>=5.1,<5.2
2933
drf314: djangorestframework>=3.14,<3.15
3034
drf315: djangorestframework>=3.15,<3.16
3135
pytest: -rrequirements.txt

0 commit comments

Comments
 (0)