From 62126dd46753ecce4f2b95bf63c1a7d08b1a91a2 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 ee3af6a9..3c1bfe06 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,6 +19,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 7e35a141..2c07aba2 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 41586baa..b7b6c63e 100644 --- a/tox.ini +++ b/tox.ini @@ -3,6 +3,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] @@ -11,6 +12,7 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [gh-actions:env] DJANGO =