With Python 3.12 out now, and 3.13 out in ~9 months, the existing runway
is running out.  Bump up to 3.20 for the next Automake release.

* m4/python.m4: Add python3.20 - python3.16.
* NEWS: Mention new Python versions.
---
 NEWS         | 2 +-
 m4/python.m4 | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index c4e3d58ecb27..c53573a0abbb 100644
--- a/NEWS
+++ b/NEWS
@@ -12,7 +12,7 @@ New in 1.17:
     version. If a specific version of Python 2 is still needed, the
     $PYTHON variable should be set beforehand.
 
-  - AM_PATH_PYTHON will also search for Python versions 3.15 through 3.10.
+  - AM_PATH_PYTHON will also search for Python versions 3.20 through 3.10.
     It previously searched for 3.9 through 3.0. (bug#53530)
 
   - RANLIB may be overridden on a per-target basis.
diff --git a/m4/python.m4 b/m4/python.m4
index 8d4e4d21585b..2de57c52ae81 100644
--- a/m4/python.m4
+++ b/m4/python.m4
@@ -38,6 +38,7 @@ AC_DEFUN([AM_PATH_PYTHON],
   dnl supported. (2.0 was released on October 16, 2000).
   m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
 [python python3 dnl
+ python3.20 python3.19 python3.18 python3.17 python3.16 dnl
  python3.15 python3.14 python3.13 python3.12 python3.11 python3.10 dnl
  python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 dnl
  python3.2 python3.1 python3.0 dnl
-- 
2.43.0




Reply via email to