GNU bug report logs - #44239
[PATCH] Python double-digit version detection broken

Previous Next

Package: automake;

Reported by: Patrik Novotny <panovotn <at> redhat.com>

Date: Mon, 26 Oct 2020 15:29:02 UTC

Severity: normal

Tags: patch

Done: Karl Berry <karl <at> freefriends.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Karl Berry <karl <at> freefriends.org>
To: panovotn <at> redhat.com
Cc: 44239 <at> debbugs.gnu.org, miro <at> hroncok.cz
Subject: bug#44239: [PATCH] Python double-digit version detection broken
Date: Mon, 26 Oct 2020 15:49:41 -0600
    https://bugzilla.redhat.com/show_bug.cgi?id=1889732

Well, I found the updated patch from Miro at
https://src.fedoraproject.org/rpms/automake/pull-request/3.patch,
which also fixes m4/python.m4, the crucial change being:

+-    [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`])
++    [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write('%d.%d' % sys.version_info[[:2]])"`])

I presume that's right, though I have no access to any python 3.10
system to check. 

The doc needs some more updating, it seems.  I will commit asap. If you
end up needing to make further changes, please let me know. --thanks, karl.





This bug report was last modified 4 years and 242 days ago.

Previous Next


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