[libvirt] [PATCH] build: only support python3 binary

Eric Blake eblake at redhat.com
Wed Dec 4 15:59:48 UTC 2019


On 12/4/19 4:14 AM, Daniel P. Berrangé wrote:
> python2 will be end of life by the time of the next
> libvirt release. All our supported build targets, including
> CentOS7, have a python3 build available.
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---

> +++ b/configure.ac
> @@ -701,9 +701,9 @@ if test "$with_linux" = "yes"; then
>   fi
>   
>   dnl Allow perl/python overrides
> -AC_PATH_PROGS([PYTHON], [python3 python2 python])
> +AC_PATH_PROGS([PYTHON], [python3])

Are there any systems with python version 3 installed only as the name 
'python', or does everyone with python 3 follow the PEP recommendations 
and have a 'python3' available?  (It matters on whether your list needs 
two instead of one spelling for acceptable programs to attempt).

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the libvir-list mailing list