From: Michał Kępień Date: Fri, 22 Apr 2022 09:25:27 +0000 (+0200) Subject: Require Python 3.6+ for running Python-based tests X-Git-Tag: v9.19.1~61^2~2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=beaaa7f4e230acc42e098c76444a052fac8d4c42;p=thirdparty%2Fbind9.git 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. --- diff --git a/configure.ac b/configure.ac index 431fffa0f37..072f535a84d 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], [])