diff --git a/patch-image.sh b/patch-image.sh index 039c7e8ed..c883afa7c 100755 --- a/patch-image.sh +++ b/patch-image.sh @@ -19,7 +19,7 @@ while IFS= read -r line; do git checkout FETCH_HEAD SKIP_GENERATE_AUTHORS=1 SKIP_WRITE_GIT_CHANGELOG=1 python3 setup.py sdist - pip3 install --prefix /usr dist/*.tar.gz + python3 -m pip install --prefix /usr dist/*.tar.gz done < "$PATCH_FILE" dnf remove -y python3-pip git-core diff --git a/prepare-image.sh b/prepare-image.sh index 665d6f11a..b449f9e19 100755 --- a/prepare-image.sh +++ b/prepare-image.sh @@ -33,7 +33,7 @@ if [[ "$INSTALL_TYPE" == "source" ]]; then # NOTE(dtantsur): pip is a requirement of python3 in CentOS # shellcheck disable=SC2086 dnf install -y python3-pip $BUILD_DEPS - python3 -m pip install pip==21.3.1 + python3 -m pip install pip==24.1 IRONIC_PKG_LIST_FINAL="/tmp/ironic-${INSTALL_TYPE}-list-final" diff --git a/resources/vbmc/Dockerfile b/resources/vbmc/Dockerfile index 2482bfc68..701b70794 100644 --- a/resources/vbmc/Dockerfile +++ b/resources/vbmc/Dockerfile @@ -8,7 +8,7 @@ ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update && \ apt-get install -y libvirt-dev ssh gcc && \ apt-get clean && \ - pip3 install --no-cache-dir \ + python3 -m pip install --no-cache-dir \ virtualbmc=="${VIRTUALBMC_VERSION}" && \ apt-get --purge autoremove -y gcc