Skip to content

Commit 47e9997

Browse files
authored
Merge pull request #429 from peterfarrell/dev/django-52-support
Add support for Django 5.2
2 parents ceecba1 + ce1d04e commit 47e9997

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

.github/workflows/python-package.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,24 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ["3.10", "3.11", "3.12"]
19-
django-version: ["4.2", "5.0", "5.1"]
18+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
19+
django-version: ["4.2", "5.0", "5.1", "5.2"]
2020
include:
2121
- python-version: "3.9"
2222
django-version: "4.2"
2323
- python-version: "3.13"
2424
django-version: "5.1"
25-
25+
exclude:
26+
# Python 3.9 is incompatible with Django v5+
27+
- django-version: 5.0
28+
python-version: 3.9
29+
- django-version: 5.1
30+
python-version: 3.9
31+
- django-version: 5.2
32+
python-version: 3.9
33+
# Django 4.2 is incompatible with Python 3.13+
34+
- django-version: 4.2
35+
python-version: 3.13
2636
steps:
2737
- uses: actions/checkout@v4
2838
- name: Set up Python ${{ matrix.python-version }}

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def read(*rnames):
3838
"Framework :: Django :: 4.2",
3939
"Framework :: Django :: 5.0",
4040
"Framework :: Django :: 5.1",
41+
"Framework :: Django :: 5.2",
4142
"Intended Audience :: Developers",
4243
"License :: OSI Approved :: Apache Software License",
4344
"Operating System :: OS Independent",

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{3.9,3.10,3.11,3.12,3.13}-django{4.2,5.0,5.1}
3+
py{3.9,3.10,3.11,3.12,3.13}-django{4.2,5.0,5.1,5.2}
44

55
[testenv]
66
commands =
@@ -11,6 +11,7 @@ deps =
1111
django4.2: django~=4.2
1212
django5.0: django~=5.0
1313
django5.1: django~=5.1
14+
django5.2: django~=5.2
1415
djangomaster: https://github.com/django/django/archive/master.tar.gz
1516
.
1617

0 commit comments

Comments
 (0)