Skip to content

Commit

Permalink
admin/build-doc: upgrade pip setuptools first
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tchaikov authored and jmolmo committed Dec 14, 2020
1 parent ad00e1d commit 7831502
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admin/build-doc
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 7831502

Please sign in to comment.