]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Require Python 3.6+ for running Python-based tests
authorMichał Kępień <michal@isc.org>
Fri, 22 Apr 2022 09:25:27 +0000 (11:25 +0200)
committerMichał Kępień <michal@isc.org>
Fri, 22 Apr 2022 09:25:27 +0000 (11:25 +0200)
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

index 431fffa0f3731d6e7f4a53d12057ff8bb4f4d94d..072f535a84dd07561b7f3b1ade5cddeba3c9d8fe 100644 (file)
@@ -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], [])