python: Support future python version up to 3.9
commit9385c161707c6d2295d610eef81fe4d1a44b44de
authorMathieu Lirzin <mthl@gnu.org>
Sat, 3 Mar 2018 11:01:13 +0000 (3 12:01 +0100)
committerMathieu Lirzin <mthl@gnu.org>
Thu, 8 Mar 2018 20:26:56 +0000 (8 21:26 +0100)
tree9d37ac434dbbd95f08d5144bca4df8c0883544de
parent6bab5b26a1241b0e0edd058d2a921989f9a1747c
python: Support future python version up to 3.9

This change fixes automake bug#28160.

Since AM_PYTHON_PATH macro takes no maximum version argument, there is
no need to generate _AM_PYTHON_INTERPRETER_LIST dynamically, like what
was previously done by the reverted commit
1d60fb72168e62d33fe433380af621de64e22f23.  We could rely on M4 to
generate this list statically however this is likely to be a complex
solution that would not improve maintainability.

* m4/python.m4 (_AM_PYTHON_INTERPRETER_LIST): Add 'python3.7',
'python3.8', and 'python3.9'.
* NEWS: Update.
NEWS
m4/python.m4