GNU bug report logs - #10226
Drop redundant Python 1.5 support?

Previous Next

Package: automake;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Mon, 5 Dec 2011 22:44:01 UTC

Severity: minor

Tags: patch

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10226 in the body.
You can then email your comments to 10226 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#10226; Package automake. (Mon, 05 Dec 2011 22:44:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Reuben Thomas <rrt <at> sc3d.org>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Mon, 05 Dec 2011 22:44:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Reuben Thomas <rrt <at> sc3d.org>
To: bug-automake <bug-automake <at> gnu.org>
Subject: Drop redundant Python 1.5 support?
Date: Mon, 5 Dec 2011 23:42:41 +0100
Reading python.m4, I notice that it claims to support only Python >=
2.0, yet still has specific support for Python 1.5. Would a patch
along the following lines therefore be accepted? (If so I'll write the
changelog entry &c.!)

From 159eee8f676f41aa4619d074e2bb8a01d102e4a8 Mon Sep 17 00:00:00
2001From: Reuben Thomas <rrt <at> sc3d.org>Date: Mon, 5 Dec 2011 23:40:48
+0100Subject: [PATCH] Remove Python 1.5 support.
--- m4/python.m4 |   14 ++++---------- 1 files changed, 4
insertions(+), 10 deletions(-)
diff --git a/m4/python.m4 b/m4/python.m4index a7c1dd7..642b498
100644--- a/m4/python.m4+++ b/m4/python.m4@@ -115,9 +115,7 @@
AC_DEFUN([AM_PATH_PYTHON],   dnl   site-packages directory, not the
python standard library   dnl   directory like in previous automake
betas.  This behavior   dnl   is more consistent with lispdir.m4 for
example.-  dnl Query distutils for this directory.  distutils does not
exist in-  dnl Python 1.5, so we fall back to the hardcoded directory
if it-  dnl doesn't work.+  dnl Query distutils for this directory.
AC_CACHE_CHECK([for $am_display_PYTHON script directory],
[am_cv_python_pythondir],     [if test "x$prefix" = xNONE@@ -126,8
+124,7 @@ AC_DEFUN([AM_PATH_PYTHON],      else
am_py_prefix=$prefix      fi-     am_cv_python_pythondir=`$PYTHON -c
"import sys; from distutils import sysconfig;
sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))"
2>/dev/null ||-     echo
"$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`+
am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import
sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))"
2>/dev/null`      case $am_cv_python_pythondir in      $am_py_prefix*)
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`@@
-153,9 +150,7 @@ AC_DEFUN([AM_PATH_PYTHON],    dnl pyexecdir --
directory for installing python extension modules   dnl   (shared
libraries)-  dnl Query distutils for this directory.  distutils does
not exist in-  dnl Python 1.5, so we fall back to the hardcoded
directory if it-  dnl doesn't work.+  dnl Query distutils for this
directory.   AC_CACHE_CHECK([for $am_display_PYTHON extension module
directory],     [am_cv_python_pyexecdir],     [if test "x$exec_prefix"
= xNONE@@ -164,8 +159,7 @@ AC_DEFUN([AM_PATH_PYTHON],      else
am_py_exec_prefix=$exec_prefix      fi-
am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import
sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))"
2>/dev/null ||-     echo
"$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`+
am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import
sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))"
2>/dev/null`      case $am_cv_python_pyexecdir in
$am_py_exec_prefix*)        am__strip_prefix=`echo
"$am_py_exec_prefix" | sed 's|.|.|g'`-- 1.7.5.4
-- 
http://rrt.sc3d.org




Information forwarded to bug-automake <at> gnu.org:
bug#10226; Package automake. (Tue, 06 Dec 2011 02:18:01 GMT) Full text and rfc822 format available.

Message #8 received at 10226 <at> debbugs.gnu.org (full text, mbox):

From: Jack Kelly <jack <at> jackkelly.name>
To: 10226 <at> debbugs.gnu.org
Subject: Re: bug#10226: Drop redundant Python 1.5 support?
Date: Tue, 6 Dec 2011 13:16:35 +1100
On Tue, Dec 6, 2011 at 9:42 AM, Reuben Thomas <rrt <at> sc3d.org> wrote:
> Reading python.m4, I notice that it claims to support only Python >=
> 2.0, yet still has specific support for Python 1.5. Would a patch
> along the following lines therefore be accepted? (If so I'll write the
> changelog entry &c.!)

The patch appears mangled (at least for me). Can you send it to the
list as an attachment?

-- Jack




Information forwarded to bug-automake <at> gnu.org:
bug#10226; Package automake. (Wed, 07 Dec 2011 22:33:01 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: bug-automake <at> gnu.org
Cc: 10226 <at> debbugs.gnu.org, Reuben Thomas <rrt <at> sc3d.org>
Subject: Re: bug#10226: Drop redundant Python 1.5 support?
Date: Wed, 7 Dec 2011 23:31:39 +0100
severity 10226 minor
thanks

Hi Reuben.

On Monday 05 December 2011, Reuben Thomas wrote:
> Reading python.m4, I notice that it claims to support only Python >=
> 2.0, yet still has specific support for Python 1.5. Would a patch
> along the following lines therefore be accepted? (If so I'll write the
> changelog entry &c.!)
> 
I'd be interested in such a patch; unfortunately, the one you've sent
is completely garbled.  Would you mind to re-send it as an attachement?

Thanks,
  Stefano




Information forwarded to bug-automake <at> gnu.org:
bug#10226; Package automake. (Wed, 07 Dec 2011 22:33:02 GMT) Full text and rfc822 format available.

Severity set to 'minor' from 'normal' Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 07 Dec 2011 22:33:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-automake <at> gnu.org:
bug#10226; Package automake. (Thu, 08 Dec 2011 00:26:02 GMT) Full text and rfc822 format available.

Message #19 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Reuben Thomas <rrt <at> sc3d.org>
To: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Cc: 10226 <at> debbugs.gnu.org, bug-automake <at> gnu.org
Subject: Re: bug#10226: Drop redundant Python 1.5 support?
Date: Thu, 8 Dec 2011 01:24:50 +0100
[Message part 1 (text/plain, inline)]
On 7 December 2011 23:31, Stefano Lattarini <stefano.lattarini <at> gmail.com> wrote:
> severity 10226 minor
>>
> I'd be interested in such a patch; unfortunately, the one you've sent
> is completely garbled.  Would you mind to re-send it as an attachement?

Attached. I apologise in advance that it will have an unhelpful MIME
type (hence my originally sending it inline).

-- 
http://rrt.sc3d.org
[0001-Remove-Python-1.5-support.patch (text/x-patch, attachment)]

Information forwarded to bug-automake <at> gnu.org:
bug#10226; Package automake. (Thu, 08 Dec 2011 00:26:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-automake <at> gnu.org:
bug#10226; Package automake. (Thu, 08 Dec 2011 22:34:02 GMT) Full text and rfc822 format available.

Message #25 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Reuben Thomas <rrt <at> sc3d.org>
Cc: 10226 <at> debbugs.gnu.org, bug-automake <at> gnu.org, automake-patches <at> gnu.org
Subject: Re: bug#10226: Drop redundant Python 1.5 support?
Date: Thu, 8 Dec 2011 23:32:10 +0100
tags 10226 + patch
thanks

On Thursday 08 December 2011, Reuben Thomas wrote:
> On 7 December 2011 23:31, Stefano Lattarini <stefano.lattarini <at> gmail.com> wrote:
> > severity 10226 minor
> >>
> > I'd be interested in such a patch; unfortunately, the one you've sent
> > is completely garbled.  Would you mind to re-send it as an attachement?
> 
> Attached. I apologise in advance that it will have an unhelpful MIME
> type (hence my originally sending it inline).
> 
Thanks.  I've added a ChangeLog entry, bumped the serial in python.m4, and
queued the patch for installation after the 1.11.2 release.

Regards,
  Stefano




Information forwarded to bug-automake <at> gnu.org:
bug#10226; Package automake. (Thu, 08 Dec 2011 22:34:03 GMT) Full text and rfc822 format available.

Added tag(s) patch. Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 08 Dec 2011 22:34:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-automake <at> gnu.org:
bug#10226; Package automake. (Thu, 22 Dec 2011 14:26:02 GMT) Full text and rfc822 format available.

Message #33 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Reuben Thomas <rrt <at> sc3d.org>
Cc: 10226-done <at> debbugs.gnu.org, bug-automake <at> gnu.org, automake-patches <at> gnu.org
Subject: Re: bug#10226: Drop redundant Python 1.5 support?
Date: Thu, 22 Dec 2011 15:23:10 +0100
On 12/08/2011 11:32 PM, Stefano Lattarini wrote:
> tags 10226 + patch
> thanks
> 
> On Thursday 08 December 2011, Reuben Thomas wrote:
>> On 7 December 2011 23:31, Stefano Lattarini <stefano.lattarini <at> gmail.com> wrote:
>>> severity 10226 minor
>>>>
>>> I'd be interested in such a patch; unfortunately, the one you've sent
>>> is completely garbled.  Would you mind to re-send it as an attachement?
>>
>> Attached. I apologise in advance that it will have an unhelpful MIME
>> type (hence my originally sending it inline).
>>
> Thanks.  I've added a ChangeLog entry, bumped the serial in python.m4, and
> queued the patch for installation after the 1.11.2 release.
> 
I've added the NEWS entry below, rebased the patch on latest maint, and pushed
it.  I'm thus closing this bug report.

Thanks,
  Stefano

-*-*-

diff --git a/NEWS b/NEWS
index 46803a7..785d6b0 100644
--- a/NEWS
+++ b/NEWS
@@ -24,6 +24,9 @@ New in 1.11.0a:

 * Miscellaneous changes:

+  - The last relics of Python 1.5 support have been removed from the
+    AM_PATH_PYTHON macro.
+
   - The `lzma' compression scheme and associated automake option `dist-lzma'
     is obsoleted by `xz' and `dist-xz' due to upstream changes.






Reply sent to Stefano Lattarini <stefano.lattarini <at> gmail.com>:
You have taken responsibility. (Thu, 22 Dec 2011 14:26:03 GMT) Full text and rfc822 format available.

Notification sent to Reuben Thomas <rrt <at> sc3d.org>:
bug acknowledged by developer. (Thu, 22 Dec 2011 14:26:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 20 Jan 2012 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.