[Mesa-dev] [PATCH] travis: keep meson version below 0.45.0

Andres Gomez agomez at igalia.com
Mon Mar 5 15:25:36 UTC 2018


Recently Meson upgraded to 0.45.0 and it needs python 3.5+, which is
not available in Trusty.

Cc: Eric Engestrom <eric.engestrom at imgtec.com>
Cc: Dylan Baker <dylan at pnwbakers.com>
Cc: Emil Velikov <emil.velikov at collabora.com>
Cc: Jon Turney <jon.turney at dronecode.org.uk>
Signed-off-by: Andres Gomez <agomez at igalia.com>
---
 .travis.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 823111ca539..dcd150b482b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -460,10 +460,11 @@ before_install:
 install:
   - pip2 install --user mako
 
-  # Install the latest meson from pip, since the version in the ubuntu repos is
-  # often quite old.
+  # Install a more modern meson from pip, since the version in the
+  # ubuntu repos is often quite old. Avoid >=0.45.0 as it needs python
+  # 3.5+
   - if test "x$BUILD" = xmeson; then
-      pip3 install --user meson;
+      pip3 install --user "meson<0.45.0";
     fi
 
   # Since libdrm gets updated in configure.ac regularly, try to pick up the
-- 
2.16.1



More information about the mesa-dev mailing list