From 01871c46dcf999f1a39eca9bd6aedd5270830646 Mon Sep 17 00:00:00 2001 From: abdosi <58047199+abdosi@users.noreply.github.com> Date: Sat, 23 Jan 2021 16:34:39 -0800 Subject: [PATCH] [baseimage]: pin down pip to 20.3.3 (#6539) With the release of pip21.0 (https://pypi.org/project/pip/#history) on branch 201911 stretch build is failing with below error logs: As per https://pypi.org/project/pip/ pip21.0 does not not support python2 from Jan 2021. To fix this tag the pip to 20.3.3 version which was being used last and is working fine. Signed-off-by: Abhishek Dosi --- build_debian.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_debian.sh b/build_debian.sh index 5aba3202f1..6387f92061 100755 --- a/build_debian.sh +++ b/build_debian.sh @@ -400,7 +400,7 @@ if [[ $CONFIGURED_ARCH == amd64 ]]; then fi ## docker-py is needed by Ansible docker module -sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT easy_install pip +sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT easy_install 'pip==20.3.3' sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip install 'docker-py==1.6.0' ## Note: keep pip installed for maintainance purpose