Some of our optionally-run build-time tests use #!/usr/bin/env python, and we actually run them under PYTHON as auto-detected by configure.ac. However, they use Python 2 syntax. This is not going to work if PATH contains python3 but not python (which turns out to be the case for current Debian autobuilders), or if /usr/bin/python is Python 3 (which is a terrible idea[1], but Arch Linux does it anyway). It turns out this is trivial to fix. [1] https://www.python.org/dev/peps/pep-0394/
Created attachment 132491 [details] [review] test/name-test: Be compatible with Python 3 configure.ac will detect PYTHON=python3 if there is no python executable in the PATH.
This is so trivial that I'm inclined to apply it to 1.10 as well as master.
Comment on attachment 132491 [details] [review] test/name-test: Be compatible with Python 3 Review of attachment 132491 [details] [review]: ----------------------------------------------------------------- Yes.
Thanks, fixed in git for 1.10.22 and 1.11.16
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.