Subject: bug#53530: closed (Re: bug#53530: [PATCH] python: add 3.10 - 3.15 to the version search list)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 27 Jan 2022 03:00:03 +0000

Your bug report

#53530: python 3.10 support

which was filed against the automake package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
53530: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53530
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#53530: [PATCH] python: add 3.10 - 3.15 to the version search list
From: Mike Frysinger <[email-masked]>
To: [email-masked]
Date: Wed, 26 Jan 2022 21:59:26 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

On 26 Jan 2022 06:37, Mike Frysinger wrote:
> Fixes automake bug https://bugs.gnu.org/53530.
> 
> Based on the cadence of Automake releases, add the current Python
> release (3.10), the current Python development (3.11), and then 4
> more versions on top of that.  It doesn't hurt to check for a few
> extra versions here since this is the fallback logic when the main
> `python` and `python3` programs aren't found.
> 
> * m4/python.m4: Add python3.10 - python3.15.
> ---
>  m4/python.m4 | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/m4/python.m4 b/m4/python.m4
> index f5b5371c6a63..6653e4d89eb2 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 python2 python3 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
>   python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 dnl
> -- 
> 2.34.1

i've pushed this w/a NEWS update
  - AM_PATH_PYTHON will also search for Python versions 3.10 - 3.15.  It has
    previously searched for 3.0 - 3.9.
-mike

Subject: python 3.10 support
From: Thomas Klausner <[email-masked]>
To: [email-masked]
Date: Tue, 25 Jan 2022 19:55:13 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi!

automake's python.m4 file does not support python 3.10, the current
stable python version.

Arguably, 3.11 could also be supported since a release might be out
before the next automake release ;)

Patch for 3.10 attached.

Cheers,
 Thomas
$NetBSD$

Support python 3.10.

--- m4/python.m4.orig	2021-10-04 02:51:12.000000000 +0000
+++ 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 python2 python3 dnl
+ 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
  python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 dnl