Skip to content

Commit

Permalink
Add Django-5.0 support #143
Browse files Browse the repository at this point in the history
  • Loading branch information
shimizukawa committed Jul 27, 2024
1 parent 88090a3 commit cb9e969
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-examples-proj1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
max-parallel: 5
matrix:
python-version: ['3.10']
django-version: ['3.2', '4.0', '4.2']
django-version: ['3.2', '4.0', '4.2', '5.0']
include:
- django-version: 'main'
python-version: '3.10'
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,20 @@ jobs:
max-parallel: 5
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
django-version: ['3.2', '4.0', '4.2']
include:
- django-version: 'main'
django-version: ['3.2', '4.0', '4.2', '5.0']
exclude:
- python-version: '3.11'
django-version: '3.2'
- python-version: '3.12'
django-version: '3.2'
- django-version: '5.0'
python-version: '3.8'
- django-version: '5.0'
python-version: '3.9'
- django-version: 'main'
python-version: '3.10'
python-version: '3.8'
- django-version: 'main'
python-version: '3.9'

services:
postgres:
Expand Down
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Support versions
This product is tested with:

* Python-3.8, 3.9, 3.10, 3.11, 3.12
* Django-3.2, 4.0, 4.2
* Django-3.2, 4.0, 4.2, 5.0

License
=======
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ classifiers = [
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
Expand Down
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[tox]
envlist =
py{38,39,310,311,312}-dj{32,40,42,main}
py{38,39,310}-dj32
py{38,39,310,311,312}-dj{40,42}
py{310,311,312}-dj{40,42,50}
lint
check
skipsdist = True
Expand All @@ -18,6 +20,7 @@ DJANGO =
3.2: dj32
4.0: dj40
4.2: dj42
5.0: dj50
main: djmain

[testenv]
Expand All @@ -32,6 +35,7 @@ deps =
dj32: Django>=3.2,<3.3
dj40: Django>=4.0,<4.1
dj42: Django>=4.2,<5.0
dj50: Django>=5.0,<5.1
djmain: https://github.com/django/django/archive/main.tar.gz
setenv =
DJANGO_SETTINGS_MODULE = settings
Expand Down

0 comments on commit cb9e969

Please sign in to comment.