bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44239: [PATCH] Python double-digit version detection broken


From: Karl Berry
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.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]