Add Python 3.12 to CI (#1481)

This commit is contained in:
Kien Dang 2023-12-06 03:11:00 +08:00 committed by GitHub
parent e735f5dbdb
commit 62126dd467
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,8 @@ jobs:
python-version: "3.11" python-version: "3.11"
- django: "4.2" - django: "4.2"
python-version: "3.11" python-version: "3.11"
- django: "4.2"
python-version: "3.12"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}

View File

@ -49,6 +49,7 @@ setup(
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: PyPy", "Programming Language :: Python :: Implementation :: PyPy",
"Framework :: Django", "Framework :: Django",
"Framework :: Django :: 3.2", "Framework :: Django :: 3.2",

View File

@ -3,6 +3,7 @@ envlist =
py{38,39,310}-django32 py{38,39,310}-django32
py{38,39}-django{41,42} py{38,39}-django{41,42}
py{310,311}-django{41,42,main} py{310,311}-django{41,42,main}
py312-django{42,main}
pre-commit pre-commit
[gh-actions] [gh-actions]
@ -11,6 +12,7 @@ python =
3.9: py39 3.9: py39
3.10: py310 3.10: py310
3.11: py311 3.11: py311
3.12: py312
[gh-actions:env] [gh-actions:env]
DJANGO = DJANGO =