From 65a2128c0584b77a24d642ea581f13f2cba7b060 Mon Sep 17 00:00:00 2001 From: Jelmer Draaijer Date: Wed, 1 Nov 2023 10:18:17 +0100 Subject: [PATCH 1/2] Add Python 3.12 to test matrix and as classifier --- pyproject.toml | 1 + tox.ini | 1 + 2 files changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 885d1f68..7bb38f62 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", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Testing", diff --git a/tox.ini b/tox.ini index d5eba9d5..ff8ce3f0 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,6 @@ [tox] envlist = + py312-dj{main,50}-postgres py311-dj{main,50,42,41}-postgres py310-dj{main,50,42,41,32}-postgres py39-dj{main,42,41,32}-postgres From d8957a133b752a8f42ebfd7442b9b79864b88459 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sun, 5 Nov 2023 22:38:27 +0000 Subject: [PATCH 2/2] Add to GitHub Actions and changelog --- .github/workflows/main.yml | 4 ++++ docs/changelog.rst | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 88cbe9d3..c5c63c28 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -69,6 +69,10 @@ jobs: python: '3.11' allow_failure: false + - name: py312-dj50-postgres-xdist-coverage + python: '3.12' + allow_failure: false + - name: py311-dj50-postgres-xdist-coverage python: '3.11' allow_failure: false diff --git a/docs/changelog.rst b/docs/changelog.rst index 51159d58..6a5b087c 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -9,6 +9,8 @@ Compatibility * Official Django 5.0 support. +* Official Python 3.12 support. + v4.6.0 (2023-10-30) -------------------