diff options
| author | John Snow <jsnow@redhat.com> | 2023-10-06 15:52:43 -0400 |
|---|---|---|
| committer | John Snow <jsnow@redhat.com> | 2023-10-11 16:02:34 -0400 |
| commit | 19a39e270bdedc3c526b2a53913d8fff88c907bf (patch) | |
| tree | 38acc8d359d8bb7432c5bd8d2b036e8c0b1fc14f /configure | |
| parent | 761f241c97739f746dcf35d3f7a6ccc1e284d1dc (diff) | |
| download | focaccia-qemu-19a39e270bdedc3c526b2a53913d8fff88c907bf.tar.gz focaccia-qemu-19a39e270bdedc3c526b2a53913d8fff88c907bf.zip | |
Python: Enable python3.12 support
Python 3.12 has released, so update the test infrastructure to test against this version. Update the configure script to look for it when an explicit Python interpreter isn't chosen. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Message-id: 20231006195243.3131140-5-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure index a49fc7b7e7..96d0dd5ffc 100755 --- a/configure +++ b/configure @@ -562,7 +562,8 @@ first_python= if test -z "${PYTHON}"; then # A bare 'python' is traditionally python 2.x, but some distros # have it as python 3.x, so check in both places. - for binary in python3 python python3.11 python3.10 python3.9 python3.8; do + for binary in python3 python python3.12 python3.11 \ + python3.10 python3.9 python3.8; do if has "$binary"; then python=$(command -v "$binary") if check_py_version "$python"; then |