Skip to content

Commit

Permalink
Merge pull request #33241 from vespa-engine/aressem/set-latest-python
Browse files Browse the repository at this point in the history
Make sure latest installed python is default. MERGEOK
  • Loading branch information
aressem authored Feb 3, 2025
2 parents 0401988 + bb2a373 commit 5fabf85
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .buildkite/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ done

mkdir -p "$WORKDIR/artifacts/$ARCH/rpms"
mkdir -p "$WORKDIR/artifacts/$ARCH/maven-repo"

# Make sure we use the latest python3 version installed
# shellcheck shell=bash disable=SC2010
alternatives --set python3 "$(ls /usr/bin/python3* | grep -E "/usr/bin/python3.[0-9]+$" |sort -n -k2 -t.|tail -1)"

0 comments on commit 5fabf85

Please sign in to comment.