From 431e0dfe023a909ef12f186102a9c24044f3d307 Mon Sep 17 00:00:00 2001 From: Kien Dang Date: Wed, 6 Dec 2023 03:11:00 +0800 Subject: [PATCH] Add Python 3.12 to CI (#1481) --- .github/workflows/tests.yml | 2 ++ setup.py | 1 + tox.ini | 2 ++ 3 files changed, 5 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 15b53026..63d71c12 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,6 +25,8 @@ jobs: python-version: "3.11" - django: "4.2" python-version: "3.11" + - django: "4.2" + python-version: "3.12" steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} diff --git a/setup.py b/setup.py index fa357f0f..b7a17dd7 100644 --- a/setup.py +++ b/setup.py @@ -49,6 +49,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: PyPy", "Framework :: Django", "Framework :: Django :: 3.2", diff --git a/tox.ini b/tox.ini index ff903f26..beacdd50 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = py{38,39,310}-django32 py{38,39}-django{41,42} py{310,311}-django{41,42,main} + py312-django{42,main} pre-commit [gh-actions] @@ -12,6 +13,7 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [gh-actions:env] DJANGO =