Browse Source

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
tags/2.2.0
Riccardo Pittau 1 month ago
parent
commit
11bb1098a3
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      tinyipa/finalise-tinyipa.sh

+ 4
- 1
tinyipa/finalise-tinyipa.sh 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


Loading…
Cancel
Save