From cdd9035c640c705baf40d0e17b6556a0ca413783 Mon Sep 17 00:00:00 2001
From: Jeff Dairiki <dairiki@dairiki.org>
Date: Wed, 4 Sep 2024 15:32:25 -0700
Subject: [PATCH] tests: test under python 3.12

---
 CHANGES.md | 5 ++++-
 tox.ini    | 7 ++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index febd117..3da5742 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -5,7 +5,10 @@
 
 #### Testing
 
-- Test under python 3.10 and 3.11.
+- Test under python 3.10, 3.11, and 3.12.
+
+- Fix tox config to cope with the fact that recent tox/virtualenv does
+  not support EOLed versions of python.
 
 ### Release 0.1.1 (2021-08-16)
 
diff --git a/tox.ini b/tox.ini
index 6772f9d..32658ec 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,7 +1,7 @@
 [tox]
 minversion = 3.23
 envlist =
-    py{38,39,310,311}
+    py{38,39,310,311,312}
     pypy{38,310}
     eol_py{27,36,37,py27}
     cover-{clean,report}
@@ -19,6 +19,7 @@ python =
     3.9: py39
     3.10: py310
     3.11: py311
+    3.12: py312
     pypy-2.7: pypy27
     pypy-3.8: pypy38
     pypy-3.10: pypy310
@@ -32,8 +33,8 @@ commands =
     pytest --doctest-modules --doctest-glob=README.md README.md src
 
 depends:
-    py{38,39,310,311},pypy{27,38,310}: cover-clean
-    cover-report: py{38,39,310,311},pypy{27,38,310}
+    py{38,39,310,311,312},pypy{27,38,310}: cover-clean
+    cover-report: py{38,39,310,311,312},pypy{27,38,310}
 
 
 [testenv:cover-clean]