From e0aa6293851ab2ce35c92a3ff1aee4ca465b4d9f Mon Sep 17 00:00:00 2001 From: LordGrey <48840279+Lord-Grey@users.noreply.github.com> Date: Sun, 8 Dec 2024 20:29:11 +0100 Subject: [PATCH] Revert "Remove system python" This reverts commit 37b17877ed2711b37ae24c47f835d436ebe3839f. --- .github/workflows/qt5_6.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/qt5_6.yml b/.github/workflows/qt5_6.yml index a4d814d5..ff28021e 100644 --- a/.github/workflows/qt5_6.yml +++ b/.github/workflows/qt5_6.yml @@ -122,7 +122,8 @@ jobs: echo '::group::Install official Python' # We need the official Python, because the GA ones only support newer macOS versions - sudo rm -rf /Library/Frameworks/Python.framework/Versions/3* /usr/local/Frameworks/Python.framework/Versions/3* /usr/local/bin/python3* || true + find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete + sudo rm -rf /Library/Frameworks/Python.framework/ # export PYTHON_VERSION=$(python3 --version | cut -d' ' -f2) export PYTHON_VERSION=3.12.7 wget -qO ${{ github.workspace }}/python.pkg https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-macos11.pkg