Skip to content

Commit

Permalink
Merge pull request #573 from elfosardo/pin-setuptools-241
Browse files Browse the repository at this point in the history
🐛 Pin setuptools during image build
  • Loading branch information
metal3-io-bot committed Sep 25, 2024
2 parents ad543b4 + 7528afa commit 12cad12
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 @@ -35,7 +35,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 pip==21.3.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 pip==21.3.1 setuptools==74.1.2

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

Expand Down

0 comments on commit 12cad12

Please sign in to comment.