Skip to content

Commit

Permalink
Add Django 4.1 support
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz authored and georgek committed Aug 24, 2023
1 parent 40fc72d commit cef3c54
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.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.7', '3.8', '3.9', '3.10', 'pypy-3.10']
django-version: ['2.2', '3.2', '4.0']
django-version: ['2.2', '3.2', '4.0', '4.1']
include:
# Tox configuration for QA environment
- python-version: '3.10'
Expand All @@ -27,6 +27,9 @@ jobs:
# Exclude Django 4.0 for Python 3.7
- python-version: '3.7'
django-version: '4.0'
# Exclude Django 4.1 for Python 3.7
- python-version: '3.7'
django-version: '4.1'
# Exclude Django 2.2 for Python 3.10
- python-version: '3.10'
django-version: '2.2'
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
Expand Down
2 changes: 2 additions & 0 deletions tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
]

SECRET_KEY = "spam-eggs"

USE_TZ = True
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ envlist =
py{37,38,39,py3}-dj22
py{37,38,39,310,py3}-dj32
py{38,39,310,py3}-dj40
py{38,39,310,py3}-dj41
py{310,py3}-djmain
py310-djqa

Expand All @@ -19,6 +20,7 @@ DJANGO =
2.2: dj22
3.2: dj32
4.0: dj40
4.1: dj41
main: djmain
qa: djqa

Expand All @@ -28,6 +30,7 @@ deps =
dj22: django>=2.2,<2.3
dj32: django>=3.2,<3.3
dj40: django>=4.0,<4.1
dj41: django>=4.1,<4.2
djmain: https://github.com/django/django/archive/main.tar.gz
usedevelop = True
setenv =
Expand Down

0 comments on commit cef3c54

Please sign in to comment.