From bc73204812907b1e55f0f4b8ad977bcce8834c6f Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 12 Dec 2020 00:22:37 +0800 Subject: [PATCH] admin/build-doc: upgrade pip setuptools first on certain distros, buggy pip and setuptools are used, so we need to upgrade them first. see also: googleapis/google-cloud-python#2990 and pypa/setuptools#885 Signed-off-by: Kefu Chai --- admin/build-doc | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/build-doc b/admin/build-doc index a5c4d41514da8..a337acba0a7b2 100755 --- a/admin/build-doc +++ b/admin/build-doc @@ -62,6 +62,7 @@ if $vdir/bin/pip --use-feature=2020-resolver >/dev/null 2>&1 ; then else PIP_INSTALL="$vdir/bin/pip install" fi +$PIP_INSTALL --quiet --upgrade pip setuptools $PIP_INSTALL --quiet -r $TOPDIR/admin/doc-requirements.txt -r $TOPDIR/admin/doc-python-common-requirements.txt install -d -m0755 \ -- 2.39.5