From fd0993abf8e40248080bd782814b882505b1d270 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 15 Feb 2024 06:56:14 +0100 Subject: [PATCH 1/2] workflow(macos): add upstream discussion note Signed-off-by: Rui Chen --- .github/workflows/macos.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 94b9313..3fee14b 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -19,6 +19,7 @@ jobs: brew update # fix `brew link python@3.12` issue + # see upstream discussion in https://github.com/actions/setup-python/issues/577 rm -f /usr/local/bin/2to3 rm -f /usr/local/bin/idle3 From 174d03642dd422c1d61fa89690a6f120a6fa07b5 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 15 Feb 2024 07:11:41 +0100 Subject: [PATCH 2/2] remove py3.11 links as well Signed-off-by: Rui Chen --- .github/workflows/macos.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 3fee14b..a1ff298 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -26,6 +26,11 @@ jobs: rm -f /usr/local/bin/pydoc3 rm -f /usr/local/bin/python3 rm -f /usr/local/bin/python3-config + rm -f /usr/local/bin/2to3-3.11 + rm -f /usr/local/bin/idle3.11 + rm -f /usr/local/bin/pydoc3.11 + rm -f /usr/local/bin/python3.11 + rm -f /usr/local/bin/python3.11-config rm -f /usr/local/bin/2to3-3.12 rm -f /usr/local/bin/idle3.12 rm -f /usr/local/bin/pydoc3.12