From unknown Fri Aug 15 16:55:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53530: python 3.10 support Resent-From: Thomas Klausner Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Tue, 25 Jan 2022 18:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53530 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: 53530@debbugs.gnu.org X-Debbugs-Original-To: bug-automake@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16431369611840 (code B ref -1); Tue, 25 Jan 2022 18:56:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Jan 2022 18:56:01 +0000 Received: from localhost ([127.0.0.1]:50106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCQz2-0000Tc-O7 for submit@debbugs.gnu.org; Tue, 25 Jan 2022 13:56:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:57312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCQz1-0000TS-6K for submit@debbugs.gnu.org; Tue, 25 Jan 2022 13:56:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCQz0-00065S-No for bug-automake@gnu.org; Tue, 25 Jan 2022 13:55:58 -0500 Received: from gatalith.at ([45.132.245.72]:49487) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCQyu-0004Xi-H5 for bug-automake@gnu.org; Tue, 25 Jan 2022 13:55:55 -0500 Received: from yt.nih.at (213-47-13-4.cable.dynamic.surfer.at [213.47.13.4]) by gatalith.at (Postfix) with ESMTPSA id 20997390A12 for ; Tue, 25 Jan 2022 19:55:14 +0100 (CET) Date: Tue, 25 Jan 2022 19:55:13 +0100 From: Thomas Klausner Message-ID: <20220125185513.pxtvrchxnmojlfzo@yt.nih.at> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="we3n3tokye3nfuni" Content-Disposition: inline Received-SPF: pass client-ip=45.132.245.72; envelope-from=tk@giga.or.at; helo=gatalith.at X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --we3n3tokye3nfuni Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --we3n3tokye3nfuni Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-m4_python.m4" $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 --we3n3tokye3nfuni-- From unknown Fri Aug 15 16:55:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53530: [PATCH] python: add 3.10 - 3.15 to the version search list References: <20220125185513.pxtvrchxnmojlfzo@yt.nih.at> In-Reply-To: <20220125185513.pxtvrchxnmojlfzo@yt.nih.at> Resent-From: Mike Frysinger Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Wed, 26 Jan 2022 11:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53530 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: 53530@debbugs.gnu.org Received: via spool by 53530-submit@debbugs.gnu.org id=B53530.164319706615792 (code B ref 53530); Wed, 26 Jan 2022 11:38:01 +0000 Received: (at 53530) by debbugs.gnu.org; 26 Jan 2022 11:37:46 +0000 Received: from localhost ([127.0.0.1]:51088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCgcU-00046e-Ew for submit@debbugs.gnu.org; Wed, 26 Jan 2022 06:37:46 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:52904 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCgcT-00046Q-2o for 53530@debbugs.gnu.org; Wed, 26 Jan 2022 06:37:45 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id F36143430FE; Wed, 26 Jan 2022 11:37:38 +0000 (UTC) From: Mike Frysinger Date: Wed, 26 Jan 2022 06:37:40 -0500 Message-Id: <20220126113740.6708-1-vapier@gentoo.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) 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 From unknown Fri Aug 15 16:55:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53530: [PATCH] python: add 3.10 - 3.15 to the version search list Resent-From: "Zack Weinberg" Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Wed, 26 Jan 2022 15:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53530 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: 53530@debbugs.gnu.org X-Debbugs-Original-To: "Brad House" Received: via spool by submit@debbugs.gnu.org id=B.164320978016385 (code B ref -1); Wed, 26 Jan 2022 15:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jan 2022 15:09:40 +0000 Received: from localhost ([127.0.0.1]:53140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCjvY-0004GD-9n for submit@debbugs.gnu.org; Wed, 26 Jan 2022 10:09:40 -0500 Received: from lists.gnu.org ([209.51.188.17]:44238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCjvW-0004G5-K5 for submit@debbugs.gnu.org; Wed, 26 Jan 2022 10:09:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCjvW-0000A1-GF for bug-automake@gnu.org; Wed, 26 Jan 2022 10:09:38 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:44201) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCjvU-0007QL-Vq for bug-automake@gnu.org; Wed, 26 Jan 2022 10:09:38 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 8EDDB5C0191 for ; Wed, 26 Jan 2022 10:09:36 -0500 (EST) Received: from imap45 ([10.202.2.95]) by compute4.internal (MEProxy); Wed, 26 Jan 2022 10:09:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=owlfolio.org; h= cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; bh=+95o05xz2mwDKfbi2gWqWfmGIXf9GoY7vHTiF7 9jyak=; b=GbdIaWP+XLxefqX4UO2QyCJITCsuyLCO8sXjggfB+BXDnHz00p4GQu yr3Ru97igv1wgvPK+hIPvPsWrcliZZiAIbLwVCB/uELY+BiBQlikInFW9rgJx/Lz swC+DgiY4P+mKornOYGTFDAKDnGSTD8Kt9IpExL1O6ePs1Lf8scFAYZa6WFgpmHI O8LS1Ly3udLZbE4HtTn1vZ0Sp1OhzCXTgJ6tMlhBLIqET0LbpSoZnFs9383biXW2 f3+CSyFI13WAc3lBeXTNLlE2x5StIiQg1xKjjuALNg3pFiEWCZ4fK4UPyzd+g1Lx AD5h02fNZmisN0CHgpe8XfjgfcKgp2Cw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=+95o05xz2mwDKfbi2 gWqWfmGIXf9GoY7vHTiF79jyak=; b=Wl6VDeQVEqbFcnjFtQlgVnNkDBYr2VXcK zf7IXQZAKecQDu70DR0DogknQmKQJHPinSMeXd0aaAoqy5LGvILt+dRYynkxQ2he r0kJlAQhSJBacMV/ZELB57125fjczcsXd5PQYI2dzCmJKjGr8na/QJxYNRwbtwDA rHT7Nd+ZpAEKRwy9HzerRlsdR+tXs8sO+OlhbEBXvQmYEst3wheD5DVSqRuZ3MHj Y/WmbTbEx7Yvww0EWLqZs7HEcmv0wLChtsgMjRvzng4dwcoJdsJIoPKBJBxxL6+B 39qdCQ+75+6ECo/fTwtG9D2C+ctLYTPVn/VAnRR4iEnUdM678XAWw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrfedugdejvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesthdtre dtreertdenucfhrhhomhepfdgkrggtkhcuhggvihhnsggvrhhgfdcuoeiirggtkhesohif lhhfohhlihhordhorhhgqeenucggtffrrghtthgvrhhnpeeikeefledujeevvedtvefghe efjeeuleffjeejfeejteektefgieegtedvgeelhfenucffohhmrghinhepghhnuhdrohhr ghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeiirg gtkhesohiflhhfohhlihhordhorhhg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 175B524A0079; Wed, 26 Jan 2022 10:09:36 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-4585-ga9d9773056-fm-20220113.001-ga9d97730 Mime-Version: 1.0 Message-Id: <904b1dbd-b1da-45bf-adf2-afbca1a9bcaa@www.fastmail.com> In-Reply-To: <20220126113740.6708-1-vapier@gentoo.org> References: <20220125185513.pxtvrchxnmojlfzo@yt.nih.at> <20220126113740.6708-1-vapier@gentoo.org> Date: Wed, 26 Jan 2022 10:09:15 -0500 From: "Zack Weinberg" Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.29; envelope-from=zack@owlfolio.org; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) On Wed, Jan 26, 2022, at 6:37 AM, 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. It's unfortunate that we keep having to update this list. I wonder if there's a clean way to detect all the available /^python\d\.\d+/ commands and then sort them. zw From unknown Fri Aug 15 16:55:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53530: [PATCH] python: add 3.10 - 3.15 to the version search list Resent-From: Mike Frysinger Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Wed, 26 Jan 2022 17:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53530 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: Zack Weinberg Cc: 53530@debbugs.gnu.org Received: via spool by 53530-submit@debbugs.gnu.org id=B53530.164321770223688 (code B ref 53530); Wed, 26 Jan 2022 17:22:01 +0000 Received: (at 53530) by debbugs.gnu.org; 26 Jan 2022 17:21:42 +0000 Received: from localhost ([127.0.0.1]:53366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nClzJ-0006A0-Nu for submit@debbugs.gnu.org; Wed, 26 Jan 2022 12:21:41 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:34472 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nClzI-00069l-Vy for 53530@debbugs.gnu.org; Wed, 26 Jan 2022 12:21:41 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id B5832343094; Wed, 26 Jan 2022 17:21:34 +0000 (UTC) Date: Wed, 26 Jan 2022 12:21:38 -0500 From: Mike Frysinger Message-ID: Mail-Followup-To: Zack Weinberg , 53530@debbugs.gnu.org References: <20220125185513.pxtvrchxnmojlfzo@yt.nih.at> <20220126113740.6708-1-vapier@gentoo.org> <904b1dbd-b1da-45bf-adf2-afbca1a9bcaa@www.fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rXoMtBuGp319pQmj" Content-Disposition: inline In-Reply-To: <904b1dbd-b1da-45bf-adf2-afbca1a9bcaa@www.fastmail.com> X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) --rXoMtBuGp319pQmj Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 26 Jan 2022 10:09, Zack Weinberg wrote: > On Wed, Jan 26, 2022, at 6:37 AM, 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. >=20 > It's unfortunate that we keep having to update this list. I wonder if th= ere's a clean way to detect all the available /^python\d\.\d+/ commands and= then sort them. i posted some thoughts to Kerry, but looks like that thread went private. so i'll paste them here. Python is designed to have an arbitrary number of versions installed in parallel, and for the canonical `python` to be pointing to any of them. we have requests (that i think we should support) for compiling more than one version in a single build. so i agree that this handcoded list sucks, but i'm not sure of a better way atm to handle it. we could snoop $PATH manually with globs looking for python[0-9].[0-9]+ and then sort by version, but doing that portably is a bit of a nightmare, and i don't think autoconf provides any macros off the shelf that we could leverage. we could make the code a bit dynamic -- start at 3.0 and then count up remembering the last version we saw, and repeat until we hit like 20 missing versions in a row. but that doesn't exactly improve the code that much, and this hardcoded version list is a fallback for when the canonical `python` & `python3` are missing. which, while possible, shouldn't be that common ... -mike --rXoMtBuGp319pQmj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmHxgyIACgkQQWM7n+g3 9YFPPA//QR7kNQVvI1QeDi3jo7kPFtYKN2cRTUJnhgyNAQo5jdfEmzNWNzLJs1Dc 6QRfRIe+TiFjAVOLiwVjuL8bjhgZvy/DXBOUzhkxCuAsYovw2XZoAor8xbuBRA1h QCqDcK7Au0DO31Lcjt6VPXm9iqtk7+GerTKUYzIV489OCNdZzKM/wVClfxwE257Y 19B+czapwhiiBTGf2VtDLgM1KhGBaaKmFq1JIpohQViHLDFrGyD4PYvKvQNsINGv PMTnYDjREIO+sntFvzeDvo4YBMoQ6bRqiPJbPXZ92MLaNff7SCdALQWhrgWzZtar F8mgo2DpHxD35OnwB31UN/Vgk4oW9RYNvrOqHrYYIcl9oNZzVXP+Ao/esgYuDRTQ An2hrnUAh8rIQmNZLC8RSHAR7NGfFVoiR+OMxc9sJB1ly2ngYFrEV4WICHCUBpeA DRhdmSRCFMdlRrxKRBLYvU0l4pF9bSinNbzYbXGu9DJ4PjHaXelmoa9KlttvUOt3 1FRlZHNq589XkNIibfpDhjexiu0Sad0mdZsBRORClH8eaxdixQOCI48PUYgLSAsA PSRdmwJpUHBWDgM5D10ygVPVFcA95CG5qS5VExm1TnhgA9UUIKve7xo4ivaZjyze /WfF525WBU9UiKUjzKc5TL9sIf+KtT6pO4WtZevw9neKLAUYKVA= =rkrW -----END PGP SIGNATURE----- --rXoMtBuGp319pQmj-- From unknown Fri Aug 15 16:55:46 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Thomas Klausner Subject: bug#53530: closed (Re: bug#53530: [PATCH] python: add 3.10 - 3.15 to the version search list) Message-ID: References: <20220125185513.pxtvrchxnmojlfzo@yt.nih.at> X-Gnu-PR-Message: they-closed 53530 X-Gnu-PR-Package: automake Reply-To: 53530@debbugs.gnu.org Date: Thu, 27 Jan 2022 03:00:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1643252403-18564-1" This is a multi-part message in MIME format... ------------=_1643252403-18564-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 53530@debbugs.gnu.org. --=20 53530: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D53530 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1643252403-18564-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 53530-done) by debbugs.gnu.org; 27 Jan 2022 02:59:31 +0000 Received: from localhost ([127.0.0.1]:53929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCv0V-0004oJ-Kz for submit@debbugs.gnu.org; Wed, 26 Jan 2022 21:59:31 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:55746 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCv0T-0004o1-6y for 53530-done@debbugs.gnu.org; Wed, 26 Jan 2022 21:59:29 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id CE773343060; Thu, 27 Jan 2022 02:59:22 +0000 (UTC) Date: Wed, 26 Jan 2022 21:59:26 -0500 From: Mike Frysinger To: 53530-done@debbugs.gnu.org Subject: Re: bug#53530: [PATCH] python: add 3.10 - 3.15 to the version search list Message-ID: Mail-Followup-To: 53530-done@debbugs.gnu.org References: <20220125185513.pxtvrchxnmojlfzo@yt.nih.at> <20220126113740.6708-1-vapier@gentoo.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+eZlcqLZsGLdZed7" Content-Disposition: inline In-Reply-To: <20220126113740.6708-1-vapier@gentoo.org> X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 53530-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) --+eZlcqLZsGLdZed7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 26 Jan 2022 06:37, Mike Frysinger wrote: > Fixes automake bug https://bugs.gnu.org/53530. >=20 > 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. >=20 > * m4/python.m4: Add python3.10 - python3.15. > --- > m4/python.m4 | 1 + > 1 file changed, 1 insertion(+) >=20 > 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 d= nl > python3.2 python3.1 python3.0 dnl > python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 d= nl > --=20 > 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 --+eZlcqLZsGLdZed7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmHyCo4ACgkQQWM7n+g3 9YH8gA/9GJisr541/Onr713OkqHtbrdPkMxR85jOCYCQTC11rjr/6luKSkoF1nSo Zn9LeYwKP3tcmXOV34yU/P5+V7lhgjNDs3m+G5vhRKt/wpDRYW4rtnoecrAsbd0W 03AsbXvQv2F+YI7zLAs6DrzWtCn97JtQEVhV0viQ+7yZ5hcalTpK4V2RYjgtr8fZ G5QbOjmbV704vbq/QXa0HQeRV1bAtKzr+hlrCPxuvV399yN2CyAoiQSLOdjq6ESY 7JoDTY8adtyoiZ+Afo+fj+moFtocJ/MUy9JG6o5FGl4QwK7BWnn5t6ZUiuyo6jpL y5p7/YHxY8O5K7u0YwMoMCg/lMB6mFeTAalGwjpgu8vtWh/58ti7GAw7NiPoU26X xD9Y3wSOPrhYF0lB5YA+SWpmQ9CYHzpiyHaFgCDcwI/JDcDoEfANo0E5OGbiTMMU cIehaRfbu1o+xVYjXX9TSOAxKMmUGRbGfpzLgW+oKHLkD9Ie0+d7eDVev5laq3iP 1vspwDEnEQZZrtOTf2hWu9mz3PPhKkyGhFc/TyJK0D8a4D/fQzbOdZXhIzM+FRJz AEzUc9DoB1+nXart0mnY8dc2G8NxCRuVhSKiD9SWNQfy+E/ZDPIrZDu6XuNpfG5F 2hB1ju7X6sNK5OwWlkJmrIuSu8FYPAtcdRmhMbTVtSyceo/iyDY= =5lIq -----END PGP SIGNATURE----- --+eZlcqLZsGLdZed7-- ------------=_1643252403-18564-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Jan 2022 18:56:01 +0000 Received: from localhost ([127.0.0.1]:50106 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCQz2-0000Tc-O7 for submit@debbugs.gnu.org; Tue, 25 Jan 2022 13:56:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:57312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCQz1-0000TS-6K for submit@debbugs.gnu.org; Tue, 25 Jan 2022 13:56:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCQz0-00065S-No for bug-automake@gnu.org; Tue, 25 Jan 2022 13:55:58 -0500 Received: from gatalith.at ([45.132.245.72]:49487) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCQyu-0004Xi-H5 for bug-automake@gnu.org; Tue, 25 Jan 2022 13:55:55 -0500 Received: from yt.nih.at (213-47-13-4.cable.dynamic.surfer.at [213.47.13.4]) by gatalith.at (Postfix) with ESMTPSA id 20997390A12 for ; Tue, 25 Jan 2022 19:55:14 +0100 (CET) Date: Tue, 25 Jan 2022 19:55:13 +0100 From: Thomas Klausner To: bug-automake@gnu.org Subject: python 3.10 support Message-ID: <20220125185513.pxtvrchxnmojlfzo@yt.nih.at> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="we3n3tokye3nfuni" Content-Disposition: inline Received-SPF: pass client-ip=45.132.245.72; envelope-from=tk@giga.or.at; helo=gatalith.at X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --we3n3tokye3nfuni Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --we3n3tokye3nfuni Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-m4_python.m4" $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 --we3n3tokye3nfuni-- ------------=_1643252403-18564-1--