From 18e91c47c133899e2092c6ed41dcda378c30fb71 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Wed, 23 Oct 2024 17:37:18 +0100 Subject: [PATCH] Drop Python 3.8 support We also add a release note for Python 3.12 support. Signed-off-by: Stephen Finucane --- .github/workflows/ci.yaml | 2 +- .../notes/python-3-12-support-db9b9726661b70e9.yaml | 9 +++++++++ tox.ini | 3 +-- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 releasenotes/notes/python-3-12-support-db9b9726661b70e9.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 70e1b03c..52b18602 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,7 +29,7 @@ jobs: matrix: # NOTE: If you add a version here, don't forget to update the # '[gh-actions]' section in tox.ini - python: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python: ["3.9", "3.10", "3.11", "3.12"] db: [postgres, mysql, sqlite3] env: DATABASE_TYPE: "${{ matrix.db }}" diff --git a/releasenotes/notes/python-3-12-support-db9b9726661b70e9.yaml b/releasenotes/notes/python-3-12-support-db9b9726661b70e9.yaml new file mode 100644 index 00000000..2ceca1b7 --- /dev/null +++ b/releasenotes/notes/python-3-12-support-db9b9726661b70e9.yaml @@ -0,0 +1,9 @@ +--- +features: + - | + `Python 3.12 `_ is + now supported. +upgrade: + - | + Python 3.8 is no longer supported. It is no longer supported upstream and + most distributions provide a newer version. diff --git a/tox.ini b/tox.ini index 3df1a7ed..44dafb44 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.2 -envlist = pep8,docs,py{38,39,310,311}-django42,py{310,311,312}-django50 +envlist = pep8,docs,py{39,310,311}-django42,py{310,311,312}-django50 [testenv] skip_install = true @@ -71,7 +71,6 @@ commands = [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 3.11: py311 -- 2.47.3