Skip to content

Commit

Permalink
Support and test against Python 3.12 and Django 5.0
Browse files Browse the repository at this point in the history
Also
- move from Django 4.2 beta to at least 4.2.8
- test Django main branch wit Python 3.11
  • Loading branch information
Suor committed Jun 11, 2024
1 parent 84c210c commit 8fa8a7c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.10"]
experimental: [false]
include:
- python-version: "3.10"
- python-version: "3.11"
experimental: true

services:
Expand Down Expand Up @@ -67,6 +67,6 @@ jobs:
run: pip install tox tox-gh-actions

- name: "Run tests"
run: tox ${{ matrix.experimental && '-e py310-djmain' || '' }}
run: tox ${{ matrix.experimental && '-e py311-djmain' || '' }}
env:
MYSQL_HOST: 127.0.0.1
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Framework :: Django',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',

'Environment :: Web Environment',
'Intended Audience :: Developers',
Expand Down
7 changes: 5 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ envlist =
py37-dj32,
py{38,39}-dj{32,40},
py310-dj{32,40,41},
py311-dj{41,42},
py311-dj{41,42,50},
py312-dj{42,50},
pypy310-dj40

[gh-actions]
Expand All @@ -14,6 +15,7 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
pypy-3.10: pypy310


Expand All @@ -30,7 +32,8 @@ deps =
dj32: Django>=3.2,<3.3
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
dj42: Django==4.2b1
dj42: Django>=4.2.8,<5.0
dj50: Django>=5.0,<5.1
djmain: git+https://github.com/django/django
mysqlclient
py{37,38,39,310,311}: psycopg2-binary
Expand Down

0 comments on commit 8fa8a7c

Please sign in to comment.