Skip to content

Commit

Permalink
Add Django 4.2 to the build & declare official support
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke authored and aleksihakli committed Oct 24, 2023
1 parent 0c52a7a commit f2eb75b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,12 @@ jobs:
max-parallel: 5
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.8']
django-version: ['3.2', '4.0', '4.1']
django-version: ['3.2', '4.0', '4.1', '4.2']
include:
# Tox configuration for QA environment
- python-version: '3.10'
django-version: 'qa'
# Django main
- python-version: '3.8'
django-version: 'main'
experimental: true
- python-version: '3.9'
django-version: 'main'
experimental: true
- python-version: '3.10'
django-version: 'main'
experimental: true
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 :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,23 @@ envlist =
py{38,39,310,py38}-dj32
py{38,39,310,py38}-dj40
py{38,39,310,311,py38}-dj41
py{38,39,310,311,py38}-dj42
py{310}-djmain

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py310
3.11: py311
pypy-3.8: pypy38

[gh-actions:env]
DJANGO =
3.2: dj32
4.0: dj40
4.1: dj41
4.2: dj42
main: djmain
qa: djqa

Expand All @@ -31,6 +33,7 @@ deps =
dj32: django>=3.1,<3.2
dj40: django>=4.0,<4.1
dj41: django>=4.1,<4.2
dj42: django>=4.2,<5.0
djmain: https://github.com/django/django/archive/main.tar.gz
commands =
coverage run setup.py test
Expand Down

0 comments on commit f2eb75b

Please sign in to comment.