Skip to content

Commit 8fa8a7c

Browse files
committed
Support and test against Python 3.12 and Django 5.0
Also - move from Django 4.2 beta to at least 4.2.8 - test Django main branch wit Python 3.11
1 parent 84c210c commit 8fa8a7c

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
strategy:
2727
fail-fast: false
2828
matrix:
29-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.10"]
29+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.10"]
3030
experimental: [false]
3131
include:
32-
- python-version: "3.10"
32+
- python-version: "3.11"
3333
experimental: true
3434

3535
services:
@@ -67,6 +67,6 @@ jobs:
6767
run: pip install tox tox-gh-actions
6868

6969
- name: "Run tests"
70-
run: tox ${{ matrix.experimental && '-e py310-djmain' || '' }}
70+
run: tox ${{ matrix.experimental && '-e py311-djmain' || '' }}
7171
env:
7272
MYSQL_HOST: 127.0.0.1

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,13 @@
3838
'Programming Language :: Python :: 3.9',
3939
'Programming Language :: Python :: 3.10',
4040
'Programming Language :: Python :: 3.11',
41+
'Programming Language :: Python :: 3.12',
4142
'Framework :: Django',
4243
'Framework :: Django :: 3.2',
4344
'Framework :: Django :: 4.0',
4445
'Framework :: Django :: 4.1',
4546
'Framework :: Django :: 4.2',
47+
'Framework :: Django :: 5.0',
4648

4749
'Environment :: Web Environment',
4850
'Intended Audience :: Developers',

tox.ini

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ envlist =
44
py37-dj32,
55
py{38,39}-dj{32,40},
66
py310-dj{32,40,41},
7-
py311-dj{41,42},
7+
py311-dj{41,42,50},
8+
py312-dj{42,50},
89
pypy310-dj40
910

1011
[gh-actions]
@@ -14,6 +15,7 @@ python =
1415
3.9: py39
1516
3.10: py310
1617
3.11: py311
18+
3.12: py312
1719
pypy-3.10: pypy310
1820

1921

@@ -30,7 +32,8 @@ deps =
3032
dj32: Django>=3.2,<3.3
3133
dj40: Django>=4.0,<4.1
3234
dj41: Django>=4.1,<4.2
33-
dj42: Django==4.2b1
35+
dj42: Django>=4.2.8,<5.0
36+
dj50: Django>=5.0,<5.1
3437
djmain: git+https://github.com/django/django
3538
mysqlclient
3639
py{37,38,39,310,311}: psycopg2-binary

0 commit comments

Comments
 (0)