Skip to content

Commit

Permalink
Merge pull request #570 from elfosardo/pin-setuptools
Browse files Browse the repository at this point in the history
🐛 Pin setuptools during image build
  • Loading branch information
metal3-io-bot committed Sep 24, 2024
2 parents b8a9a22 + 82692ba commit 992a79f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion prepare-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ 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 --no-cache-dir pip==24.1
# NOTE(elfosardo): pinning pip and setuptools version to avoid
# incompatibilities and errors during packages installation;
# versions should be updated regularly, for example
# after cutting a release branch.
python3 -m pip install --no-cache-dir pip==24.1 setuptools==74.1.2

IRONIC_PKG_LIST_FINAL="/tmp/ironic-${INSTALL_TYPE}-list-final"

Expand Down

0 comments on commit 992a79f

Please sign in to comment.