Fix finalise tinyipa

The version of pip should be the same between build and finalise
otherwise installing from wheels will likely fail.

Depends-On: https://review.opendev.org/747355

Change-Id: I575b7294e21a9a9ebe34181171d065c31aa13e34
This commit is contained in:
Riccardo Pittau 2020-08-20 16:59:26 +02:00
parent 710ff8fa9c
commit 11bb1098a3
1 changed files with 4 additions and 1 deletions

View File

@ -157,7 +157,10 @@ if [[ $USE_PYTHON3 == "True" ]]; then
fi
# Install pip
$CHROOT_CMD ${TINYIPA_PYTHON_EXE} -m ensurepip --upgrade
# NOTE(rpittau): pip MUST be the same version used in the build script or
# dragons will appear and put everything on fire
$CHROOT_CMD ${TINYIPA_PYTHON_EXE} -m ensurepip
$CHROOT_CMD ${PIP_COMMAND} install --upgrade pip wheel
# If flag is set install python now
if $BUILD_AND_INSTALL_TINYIPA ; then