From c7ee3cd3576d23f0132c6dd437c98bb6f468643e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Tro=C3=ABng?= Date: Wed, 18 Sep 2024 15:59:21 +0200 Subject: [PATCH] fixating python version --- .github/workflows/linux-arm64.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux-arm64.yml b/.github/workflows/linux-arm64.yml index ea90b9642..dc6cec497 100644 --- a/.github/workflows/linux-arm64.yml +++ b/.github/workflows/linux-arm64.yml @@ -23,7 +23,7 @@ jobs: sudo apt-get install -qq curl software-properties-common libnotify-dev libayatana-appindicator3-dev patchelf sudo add-apt-repository -y ppa:git-core/ppa sudo add-apt-repository -y ppa:deadsnakes/ppa - sudo apt-get install -qq git python3.12-dev python3.12-venv python3.12-distutils + sudo apt-get install -qq git python$PYVER_MINOR-dev python$PYVER_MINOR-venv python$PYVER_MINOR-distutils git config --global --add safe.directory "$GITHUB_WORKSPACE" sudo ln -s `which python$PYVER_MINOR` /usr/local/bin/python sudo ln -s `which python$PYVER_MINOR` /usr/local/bin/python3 @@ -31,8 +31,9 @@ jobs: export PYVERINST=${PYVER_TEMP#* } echo "PYVERINST=$PYVERINST" >> $GITHUB_ENV echo "Installed python version: $PYVERINST" - python -m ensurepip --user python -m pip install -U pip pipx + python -m ensurepip --user + - name: Verify Python version if: ${{ env.PYVERINST != env.PYVER }}