Add `Django 4.2` support.

master
Fabio Caccamo 2023-04-07 01:01:44 +02:00
parent 2b21b16929
commit 4668f27c92
3 changed files with 10 additions and 8 deletions

View File

@ -19,10 +19,10 @@ jobs:
id: create_matrix id: create_matrix
with: with:
matrix: | matrix: |
python-version {3.8}, django-version {3.0,3.1,3.2}, database {sqlite,postgres} python-version {3.8}, django-version {3.0, 3.1, 3.2, 4.0, 4.1, 4.2}, database {sqlite, postgres}
python-version {3.9}, django-version {3.0,3.1,3.2}, database {sqlite,postgres} python-version {3.9}, django-version {3.0, 3.1, 3.2, 4.0, 4.1, 4.2}, database {sqlite, postgres}
python-version {3.10}, django-version {3.2,4.0,4.1}, database {sqlite,postgres} python-version {3.10}, django-version {3.2, 4.0, 4.1, 4.2}, database {sqlite, postgres}
python-version {3.11}, django-version {4.1}, database {sqlite,postgres} python-version {3.11}, django-version {4.1, 4.2}, database {sqlite, postgres}
outputs: outputs:
matrix: ${{ steps.create_matrix.outputs.matrix }} matrix: ${{ steps.create_matrix.outputs.matrix }}

View File

@ -27,6 +27,7 @@ classifiers = [
"Framework :: Django :: 3.2", "Framework :: Django :: 3.2",
"Framework :: Django :: 4.0", "Framework :: Django :: 4.0",
"Framework :: Django :: 4.1", "Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Intended Audience :: Developers", "Intended Audience :: Developers",
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Natural Language :: English", "Natural Language :: English",

View File

@ -1,9 +1,9 @@
[tox] [tox]
envlist = envlist =
py38-{dj30,dj31,dj32}-{sqlite,postgres}, py38-{dj30,dj31,dj32,dj40,dj41,dj42}-{sqlite,postgres},
py39-{dj30,dj31,dj32}-{sqlite,postgres}, py39-{dj30,dj31,dj32,dj40,dj41,dj42}-{sqlite,postgres},
py310-{dj32,dj40,dj41}-{sqlite,postgres}, py310-{dj32,dj40,dj41,dj42}-{sqlite,postgres},
py311-{dj41}-{sqlite,postgres}, py311-{dj41,dj42}-{sqlite,postgres},
[gh-actions] [gh-actions]
python = python =
@ -26,6 +26,7 @@ deps =
dj32: Django == 3.2.* dj32: Django == 3.2.*
dj40: Django == 4.0.* dj40: Django == 4.0.*
dj41: Django == 4.1.* dj41: Django == 4.1.*
dj42: Django == 4.2.*
-r requirements.txt -r requirements.txt
-r requirements-test.txt -r requirements-test.txt