From 984e29f4cd88660a9e041b3dd47cffd9ba21d65b Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Tue, 20 Aug 2024 14:00:23 +0200 Subject: [PATCH] chore: Remove unnecessary Python 3.12 commands and files from macOS alpha build workflow --- .github/workflows/macos-alpha-build.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos-alpha-build.yml b/.github/workflows/macos-alpha-build.yml index 5835e940f..141f2ec75 100644 --- a/.github/workflows/macos-alpha-build.yml +++ b/.github/workflows/macos-alpha-build.yml @@ -51,8 +51,22 @@ jobs: export PATH="$(python3 -m site --user-base)/bin":$PATH python3 -m pip install --user mercurial - brew link --overwrite python@3.12 - brew install python@3.12 + rm '/usr/local/bin/2to3-3.11' # fix Could not symlink bin/2to3-3.11 + rm '/usr/local/bin/2to3-3.12' # fix Could not symlink bin/2to3-3.12 + rm /usr/local/bin/2to3 # fix Could not symlink bin/2to3 + rm '/usr/local/bin/idle3.11' #fix Could not symlink bin/idle3.11 + rm '/usr/local/bin/idle3.12' # fix Could not symlink bin/idle3.12 + rm '/usr/local/bin/idle3' # fix Could not symlink bin/idle3 + rm '/usr/local/bin/pydoc3.11' # fix Could not symlink bin/pydoc3.11 + rm '/usr/local/bin/pydoc3.12' # fix Could not symlink bin/pydoc3.12 + rm '/usr/local/bin/pydoc3' # fix Could not symlink bin/pydoc3 + rm '/usr/local/bin/python3.11' # fix Could not symlink bin/python3.11 + rm '/usr/local/bin/python3.12' # fix Could not symlink bin/python3.12 + rm '/usr/local/bin/python3' # fix Could not symlink bin/python3 + rm '/usr/local/bin/python3.11-config' # fix Could not symlink bin/python3.11-config + rm '/usr/local/bin/python3.12-config' # fix Could not symlink bin/python3.12-config + rm '/usr/local/bin/python3-config' # fix Could not symlink bin/python3-config + brew install watchman - name: Force usage fo gnu-tar