From beaaa7f4e230acc42e098c76444a052fac8d4c42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Fri, 22 Apr 2022 11:25:27 +0200 Subject: [PATCH] Require Python 3.6+ for running Python-based tests configure.ac currently requires Python 3.4 for running Python-based system tests. Meanwhile, there are some features in Python 3.6+ that we would like to use for making our Python code cleaner (e.g. f-strings). Update the minimum Python version required for running Python-based system tests to 3.6, noting that: - Python 3.4 has reached end-of-life on March 18th, 2019. - Python 3.5 has reached end-of-life on September 5th, 2020. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 431fffa0f3..072f535a84 100644 --- a/configure.ac +++ b/configure.ac @@ -266,7 +266,7 @@ AM_CONDITIONAL([HAVE_PERLMOD_TIME_HIRES], # # Python is optional, it is used only by some of the system test scripts. # -AM_PATH_PYTHON([3.4], [], [:]) +AM_PATH_PYTHON([3.6], [], [:]) AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != ":"]) AC_PATH_PROGS([PYTEST], [pytest-3 py.test-3 pytest py.test pytest-pypy], [])