[Mesa-dev] [PATCH] travis: use python3.5 for meson

Emil Velikov emil.l.velikov at gmail.com
Thu Sep 20 08:50:14 UTC 2018


On 10 September 2018 at 13:15, Juan A. Suarez Romero
<jasuarez at igalia.com> wrote:
> Newer Meson versions require python >=3.5. But in Trusty default python3
> version is 3.4.x.
>
> Install python3.5 and makes it the default version for Meson using
> update-alternatives method.
>
Thanks for finding this solution Juan.
Way shorter and simpler - small nit below though.

I'm assuming this has landed, but regardless:
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

>  This is an alternative to avoid changing the distribution flavour in
>  https://patchwork.freedesktop.org/series/49349/
>
FTR patch 1/2 of the series is no longer needed, but 2/2 needs some review ;-)


> +      sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.5 10;
The trailing priority of 10 is fairly magical.
Admittedly it is unlikely to have another python with higher prio set :-)

-Emil


More information about the mesa-dev mailing list