Skip to content

Commit 19e64a2

Browse files
adamchainzgeorgek
authored andcommitted
Add Django 5.0 support
1 parent 5599143 commit 19e64a2

File tree

3 files changed

+27
-8
lines changed

3 files changed

+27
-8
lines changed

.github/workflows/test.yml

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,18 @@ jobs:
1010
fail-fast: false
1111
max-parallel: 5
1212
matrix:
13-
python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.10']
14-
django-version: ['2.2', '3.2', '4.0', '4.1', '4.2']
13+
python-version:
14+
- '3.8'
15+
- '3.9'
16+
- '3.10'
17+
- '3.11'
18+
- '3.12'
19+
- 'pypy-3.10'
20+
django-version:
21+
- '3.2'
22+
- '4.1'
23+
- '4.2'
24+
- '5.0'
1525
include:
1626
# Tox configuration for QA environment
1727
- python-version: '3.11'
@@ -27,12 +37,16 @@ jobs:
2737
django-version: 'main'
2838
experimental: true
2939
exclude:
30-
# Exclude Django 2.2 for Python 3.10
31-
- python-version: '3.10'
32-
django-version: '2.2'
33-
# Exclude Django 2.2 for Python 3.11
34-
- python-version: '3.11'
35-
django-version: '2.2'
40+
- python-version: '3.12'
41+
django-version: '3.2'
42+
- python-version: '3.12'
43+
django-version: '4.1'
44+
- python-version: '3.12'
45+
django-version: '4.2'
46+
- python-version: '3.8'
47+
django-version: '5.0'
48+
- python-version: '3.9'
49+
django-version: '5.0'
3650

3751
steps:
3852
- uses: actions/checkout@v2

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"Framework :: Django :: 3.2",
2222
"Framework :: Django :: 4.1",
2323
"Framework :: Django :: 4.2",
24+
"Framework :: Django :: 5.0",
2425
"Intended Audience :: Developers",
2526
"License :: OSI Approved :: MIT License",
2627
"Programming Language :: Python",

tox.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ envlist =
33
py{38,39,310,311,py3}-dj32
44
py{38,39,310,311,py3}-dj41
55
py{38,39,310,311,py3}-dj42
6+
py{310,311,312,py3}-dj50
67
py{310,311,py3}-djmain
78
py311-djqa
89

@@ -12,13 +13,15 @@ python =
1213
3.9: py39
1314
3.10: py310
1415
3.11: py311
16+
3.12: py312
1517
pypy-3.10: pypy3
1618

1719
[gh-actions:env]
1820
DJANGO =
1921
3.2: dj32
2022
4.1: dj41
2123
4.2: dj42
24+
5.0: dj50
2225
main: djmain
2326
qa: djqa
2427

@@ -28,6 +31,7 @@ deps =
2831
dj32: django>=3.2,<3.3
2932
dj41: django>=4.1,<4.2
3033
dj42: django>=4.2,<4.3
34+
dj50: django>=5.0a1,<5.1
3135
djmain: https://github.com/django/django/archive/main.tar.gz
3236
usedevelop = True
3337
setenv =

0 commit comments

Comments
 (0)