Skip to content

Commit

Permalink
Pin setuptools and pin upper-constraints
Browse files Browse the repository at this point in the history
Usually the setuptools installed by the system is stable but
a bit too old compared to the packages we use for ironic,
so pinning a more recent version helps avoiding
errors and incompatibilities.

Also pin upper-constraints since we forgot!

Signed-off-by: Riccardo Pittau <elfosardo@gmail.com>
  • Loading branch information
elfosardo committed Sep 24, 2024
1 parent b2f3765 commit 54d741a
Show file tree
Hide file tree
Showing 2 changed files with 605 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
Loading

0 comments on commit 54d741a

Please sign in to comment.