On 15.05.2020 19:19, Daniel Shahaf wrote:
> I just noticed that when I ran «make check» on trunk, it was run using
> python 2.7.  I hadn't pass any Python-related flags to autogen.sh/configure.
>
> I presume py2.7 was used because build/find_python.sh used whatever the
> "python" executable in my $PATH is.
>
> Looking at find_python.sh, that's exactly what it does.  Shouldn't we
> change it to use Python 3 in preference to Python 2, given that we've
> documented py2 as no longer supported?


Did we actually document that? My impression was that we want to support
both.

It would make sense to prefer Python3 over Python2 by default if both
are available, but I wouldn't go further than that. The order of
executable names should be [python3, python, python2], IIUC the naming
conventions.

-- Brane

Reply via email to