]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
travis CI: update meson image to one with a python that isn't EOL 3039/head
authorEli Schwartz <eschwartz@archlinux.org>
Mon, 31 Jan 2022 03:38:04 +0000 (22:38 -0500)
committerEli Schwartz <eschwartz@archlinux.org>
Mon, 31 Jan 2022 03:45:23 +0000 (22:45 -0500)
Currently the build errors out with:

```
ERROR: This script does not work on Python 3.6 The minimum supported Python version is 3.7. Please use https://bootstrap.pypa.io/pip/3.6/get-pip.py instead.
```

While in theory this advice could be followed to get a better pip on
xenial, Meson has now deprecated python 3.6 support too, and the next
(unreleased) version requires python 3.7

There are a couple solutions to this:
- hold the version of pip, allow pip to only install 3.6-compatible
  versions of meson (effectively freezing meson going forward)
- install python 3.7 on xenial
- update to a 2-year-old image instead of a 4-year-old one

Option 3 is the simplest.

.travis.yml

index 6a1295b4cee326cd7d1c09c3b194d155e67dd52d..34cf0e1ae9a18d00035327d44a4554ba1c0928a8 100644 (file)
@@ -92,8 +92,8 @@ matrix:
         - make -C tests versionsTest
 
     # meson dedicated test
-    - name: Xenial (Meson + clang)    # ~15mn
-      dist: bionic
+    - name: Focal (Meson + clang)    # ~15mn
+      dist: focal
       language: cpp
       compiler: clang
       install: