Skip to content

Commit

Permalink
Add django 5 support (#803)
Browse files Browse the repository at this point in the history
* Add django 5 support

* exclude Python 3.9 and django 5
  • Loading branch information
peymanslh authored Dec 21, 2023
1 parent b9e6356 commit 7b4eea1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,26 @@ jobs:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.10']
django-version: ['3.2', '4.1', '4.2', 'main']
django-version: ['3.2', '4.1', '4.2', '5.0', 'main']
exclude:
- python-version: '3.8'
django-version: '4.1'
- python-version: '3.8'
django-version: '4.2'
- python-version: '3.8'
django-version: '5.0'
- python-version: '3.8'
django-version: 'main'
- python-version: '3.9'
django-version: '5.0'
- python-version: '3.9'
django-version: 'main'
- python-version: 'pypy-3.10'
django-version: '4.1'
- python-version: 'pypy-3.10'
django-version: '4.2'
- python-version: 'pypy-3.10'
django-version: '5.0'
- python-version: 'pypy-3.10'
django-version: 'main'
- python-version: '3.10'
Expand Down
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Unreleased
* Drop support for Python 3.7
* Drop support for Django 2
* Add Python 3.12 support
* Add Django 5.0 support

2.1.0
=====
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
Expand Down
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
envlist =
pypy3-dj{32,41,42}
py{38,39,310,311}-dj32
py{39,310,311}-dj{41,42,main}
py{312}-dj{42,main}
py{39,310,311}-dj41
py{39,310,311,312}-dj42
py{310,311,312}-dj50
py{310,311,312}-djmain
docs

[gh-actions]
Expand All @@ -20,6 +22,7 @@ DJANGO =
3.2: dj32
4.1: dj41
4.2: dj42
5.0: dj50
main: djmain

[testenv]
Expand All @@ -35,6 +38,7 @@ deps =
dj32: Django>=3.2,<3.3
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<4.3
dj50: Django>=5.0,<5.1
djmain: https://github.com/django/django/archive/main.tar.gz
jinja2
coverage
Expand Down

0 comments on commit 7b4eea1

Please sign in to comment.