Description of problem: When python 3.11 is available the version string comes back as 3.1 checking for gawk... gawk ... checking for system type (linux-gnu)... Linux checking for python3... python3 checking for python version... 3.1 it kind of looks like you need to add a couple more entries to _AM_PYTHON_INTERPRETER_LIST in /usr/share/aclocal-1.16/python.m4 AC_DEFUN([AM_PATH_PYTHON], [ dnl Find a Python interpreter. Python versions prior to 2.0 are not dnl supported. (2.0 was released on October 16, 2000). m4_define_default([_AM_PYTHON_INTERPRETER_LIST], [python python2 python3 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 python2.0]) 3.10 and 3.11 are lazily matched to 3.1 Version-Release number of selected component (if applicable): automake-1.16.1-7.el8.noarch How reproducible: always. Actual results: 3.1 Expected results: 3.11 Additional info:
This also seems to affect Fedora38 which defaults to python 3.11 and so it probably needs to fan out to other distro versions and be fixed upstream.
apparently this was fixed in 1.16.3 can we get at least that version in the distros? https://lists.gnu.org/archive/html/info-gnu/2020-11/msg00005.html