From f020bdbc3f480fce5f23c8e5164eb948f369b0d5 Mon Sep 17 00:00:00 2001 From: Phil Sphicas Date: Mon, 15 Feb 2021 03:32:39 +0000 Subject: [PATCH] Fix ubuntu_xenial build (use pip <21.0) pip 21.0 requires Python >= 3.6. [0] The latest official python3 package for xenial is 3.5.1-3 [1] Until we stop building xenial images, ensure that an older pip version is used. 0: https://pypi.org/project/pip/21.0/ 1: https://packages.ubuntu.com/xenial/python3 Change-Id: I6a51ae5b9e3222ca404c7ccd7dea1209b20ce8fd --- images/pegleg/Dockerfile.ubuntu_xenial | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/pegleg/Dockerfile.ubuntu_xenial b/images/pegleg/Dockerfile.ubuntu_xenial index 8d4b2584..78b4714e 100644 --- a/images/pegleg/Dockerfile.ubuntu_xenial +++ b/images/pegleg/Dockerfile.ubuntu_xenial @@ -31,7 +31,7 @@ RUN set -ex \ python3-dev \ python3-pip \ python3-setuptools \ - && python3 -m pip install -U pip \ + && python3 -m pip install -U 'pip<21.0' \ && apt-get autoremove -yqq --purge \ && apt-get clean \ && rm -rf \