Skip to content

Commit

Permalink
Use latest setuptools
Browse files Browse the repository at this point in the history
The system installed setuptools is too old for some python
packages installed using pip, always get the latest version.

Also pin upper-constraints.
  • Loading branch information
elfosardo committed Sep 24, 2024
1 parent b2f3765 commit f7d98d0
Show file tree
Hide file tree
Showing 2 changed files with 603 additions and 0 deletions.
3 changes: 3 additions & 0 deletions prepare-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ if [[ "$INSTALL_TYPE" == "source" ]]; then
# shellcheck disable=SC2086
dnf install -y python3-pip $BUILD_DEPS
python3 -m pip install pip==21.3.1
# NOTE(elfosardo): default system setuptools is too old to install
# some python libraries, get the latest version
python3 -m pip install -U setuptools

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

Expand Down
Loading

0 comments on commit f7d98d0

Please sign in to comment.