From 60a6695115e2e9a073cade395abe20828bd30b6d Mon Sep 17 00:00:00 2001 From: Brendan Walsh Date: Mon, 6 Apr 2026 18:44:18 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20bump=20Python=203.8=20=E2=86=92=203.10?= =?UTF-8?q?=20and=20drop=20redundant=20az=20cli=20install?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Python 3.8 is not pre-installed on the ubuntu-22.04 agent image (toolcache only has 3.10-3.14). Every job was downloading 3.8 from GitHub at runtime, which is fragile — build 213983677 hit a 502. Also removes the pip install azure-cli==2.60.0 step. The AzureCLI@2 task uses the agent's pre-installed az (currently 2.84.0), so this was actually downgrading it and wasting ~30s per job. --- templates/update_cli.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/update_cli.yml b/templates/update_cli.yml index 2eedbaecfee..76d0820a6c8 100644 --- a/templates/update_cli.yml +++ b/templates/update_cli.yml @@ -1,12 +1,10 @@ steps: - task: UsePythonVersion@0 inputs: - versionSpec: '3.8' + versionSpec: '3.10' architecture: 'x64' - task: JavaToolInstaller@0 inputs: versionSpec: '8' jdkArchitectureOption: 'x64' jdkSourceOption: 'PreInstalled' - - bash: pip install azure-cli==2.60.0 - displayName: 'Upgrade Azure CLI'