[ovs-dev] [PATCH] m4: Try to use "python" as Python2 interpreter only as last resort

Ben Pfaff blp at ovn.org
Thu Mar 8 18:33:55 UTC 2018


On Thu, Mar 08, 2018 at 05:15:37PM +0100, Timothy Redaelli wrote:
> This patch tries to find Python 2 as "python2", then "python2.7" and finally
> "python".
> 
> This is needed since "/usr/bin/python" is used as Python 3 on some Linux
> distributions (for example on Arch Linux) and on Fedora 28
> "/usr/bin/python" will be deprecated [1]:
>     "All scripts shall explicitly use /usr/bin/python2."
> 
> [1] https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
> 
> Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>

Thanks, applied to master.  (If you consider this a bug fix for OVS 2.9,
let me know and I'll backport to branch-2.9.)


More information about the dev mailing list