From 95711bc07150c58d583efac5c6360e63ba41bba4 Mon Sep 17 00:00:00 2001 From: James Gillard Date: Tue, 3 Oct 2023 17:33:39 +0100 Subject: [PATCH] Confirm Python 3.12 support --- .github/workflows/test.yml | 2 +- CHANGELOG.md | 3 +++ setup.py | 1 + tox.ini | 7 +++++-- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c978b28..98a922f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: fail-fast: false max-parallel: 5 matrix: - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] services: postgres: diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d565f8..af0e891 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## Next Release +#### Improvements +- Python: Confirm Python 3.12 support ([#572](https://github.com/jazzband/django-auditlog/pull/572)) + ## 3.0.0-beta.2 (2023-10-05) #### Breaking Changes diff --git a/setup.py b/setup.py index f01a16d..5eda9eb 100644 --- a/setup.py +++ b/setup.py @@ -36,6 +36,7 @@ setup( "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Framework :: Django", "Framework :: Django :: 3.2", "Framework :: Django :: 4.1", diff --git a/tox.ini b/tox.ini index 4b09859..1e7dfaf 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,9 @@ [tox] envlist = {py38,py39,py310}-django32 - {py38,py39,py310,py311}-django{41,42} - {py310,py311}-djangomain + {py38,py39,py310,py311}-django41 + {py38,py39,py310,py311,py312}-django42 + {py310,py311,py312}-djangomain py38-docs py38-lint @@ -30,6 +31,7 @@ passenv= TEST_DB_PORT basepython = + py312: python3.12 py311: python3.11 py310: python3.10 py39: python3.9 @@ -51,3 +53,4 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312