From bb35cfa084d0c35186d959c4cc2f162a3c592182 Mon Sep 17 00:00:00 2001 From: David Wobrock Date: Sun, 29 Oct 2023 11:01:12 +0100 Subject: [PATCH] Add support for Python 3.12 --- .github/workflows/ci-build.yml | 2 +- CHANGELOG.md | 1 + pyproject.toml | 1 + tox.ini | 5 +++-- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index a38cb93..e23beed 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] name: Build with Python ${{ matrix.python-version }} steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 544314d..0160982 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ Miscellaneous: - Migrated from `setup.py` and `setup.cfg` to `pyproject.toml` +- Add support for Python 3.12 ## 5.0.0 diff --git a/pyproject.toml b/pyproject.toml index 823a1cd..17aae91 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,6 +33,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] keywords = [ "django", diff --git a/tox.ini b/tox.ini index 3279926..f4100a3 100644 --- a/tox.ini +++ b/tox.ini @@ -2,8 +2,8 @@ envlist = py{37,38,39,310}-django32 py{38,39,310}-django40 - py{38,39,310,311}-django41 - py{38,39,310,311}-django42 + py{38,39,310,311,312}-django41 + py{38,39,310,311,312}-django42 lint coverage @@ -14,6 +14,7 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [testenv] allowlist_externals = ./manage.py