From 445923af4c7c11880dabe5a005fd07c306f1bb0c Mon Sep 17 00:00:00 2001 From: Hang Lei Date: Tue, 10 Jun 2025 11:46:39 +0800 Subject: [PATCH 1/3] Init --- azure-pipelines.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 1dc0ef38a45..08920045383 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -659,6 +659,9 @@ jobs: python_version=3.12 brew unlink python@$python_version && brew link --overwrite python@$python_version + # update homebrew to latest version in case the formula is not compatible with the current homebrew version + brew update + echo == Remove pre-installed azure-cli == brew uninstall azure-cli From f12c915fac277d210120ece3b37c6c808fb83b97 Mon Sep 17 00:00:00 2001 From: Hang Lei Date: Thu, 12 Jun 2025 11:09:34 +0800 Subject: [PATCH 2/3] overwrite 3.13 --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 08920045383..e23ffc5e800 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -656,8 +656,8 @@ jobs: set -ev # Force relink python@3.xx in Homebrew to resolve the conflict with pre-installed python 3.xx on macOS-12 image # See: https://github.com/Azure/azure-cli/issues/29054 - python_version=3.12 - brew unlink python@$python_version && brew link --overwrite python@$python_version + brew unlink python@$3.12 && brew link --overwrite python@$3.12 + brew unlink python@3.13 && brew link --overwrite python@3.13 # update homebrew to latest version in case the formula is not compatible with the current homebrew version brew update From c367fad7f8011201432280dcece537be5d19bfc8 Mon Sep 17 00:00:00 2001 From: Hang Lei Date: Thu, 12 Jun 2025 16:14:22 +0800 Subject: [PATCH 3/3] Fix typo --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e23ffc5e800..84e9eacbea0 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -654,9 +654,9 @@ jobs: - bash: | set -ev - # Force relink python@3.xx in Homebrew to resolve the conflict with pre-installed python 3.xx on macOS-12 image - # See: https://github.com/Azure/azure-cli/issues/29054 - brew unlink python@$3.12 && brew link --overwrite python@$3.12 + # Force relink python@3.xx in Homebrew to resolve the conflict with pre-installed python 3.xx on macOS + # See: https://github.com/actions/runner-images/issues/9966 + brew unlink python@3.12 && brew link --overwrite python@3.12 brew unlink python@3.13 && brew link --overwrite python@3.13 # update homebrew to latest version in case the formula is not compatible with the current homebrew version