]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
Drop Python 3.8 support
authorStephen Finucane <stephen@that.guru>
Wed, 23 Oct 2024 16:37:18 +0000 (17:37 +0100)
committerStephen Finucane <stephen@that.guru>
Wed, 23 Oct 2024 16:58:04 +0000 (17:58 +0100)
We also add a release note for Python 3.12 support.

Signed-off-by: Stephen Finucane <stephen@that.guru>
.github/workflows/ci.yaml
releasenotes/notes/python-3-12-support-db9b9726661b70e9.yaml [new file with mode: 0644]
tox.ini

index 70e1b03c85cc351a72fddbb4a42f59f03a9c84ad..52b18602729e6ad12a29cc1a79fafdc37a9c0ac8 100644 (file)
@@ -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 (file)
index 0000000..2ceca1b
--- /dev/null
@@ -0,0 +1,9 @@
+---
+features:
+  - |
+    `Python 3.12 <https://www.python.org/downloads/release/python-3120/>`_ 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 3df1a7ed710d43498d78c17ac932415790e3f352..44dafb44b2d3d5a7d994935771b53772a6a56182 100644 (file)
--- 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