From 95e936a6115ee587082e54e3d7adfac84d396d6c Mon Sep 17 00:00:00 2001 From: Sathiyakumar Ganesan Date: Mon, 23 Feb 2026 11:13:53 +0000 Subject: [PATCH 1/2] expose the py_ver var to the pipeline --- azure/cleanup-ecs-pr-proxies.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/azure/cleanup-ecs-pr-proxies.yml b/azure/cleanup-ecs-pr-proxies.yml index 373ed4a68..3a7098118 100644 --- a/azure/cleanup-ecs-pr-proxies.yml +++ b/azure/cleanup-ecs-pr-proxies.yml @@ -61,10 +61,12 @@ jobs: displayName: cache utils pre-requisites - bash: | - pyversion="3.13" + pyversion=${{ parameters.python_version }} PATCH=$(curl -fsSL https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json \ | jq -r --arg pyversion "$pyversion" '[ .[] | select(.stable == true) | .version | select(test("^" + ($pyversion|gsub("\\.";"\\.")) + "\\.\\d+$")) | split(".") | map(tonumber)] | max | join(".")') + + echo "##vso[task.setvariable variable=PY_VER]$PATCH" echo "Resolved latest python version: $PATCH" echo "##vso[task.setvariable variable=LD_LIBRARY_PATH;]/agent/_work/_tool/Python/${PATCH}/x64/lib/" displayName: 'Query and set python tool cache path' From 1df274a9eebcb2e287f76f3bd6a1478f10ccd4bb Mon Sep 17 00:00:00 2001 From: Sathiyakumar Ganesan Date: Mon, 23 Feb 2026 11:24:11 +0000 Subject: [PATCH 2/2] pin python verion to 3.13 --- azure/cleanup-ecs-pr-proxies.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure/cleanup-ecs-pr-proxies.yml b/azure/cleanup-ecs-pr-proxies.yml index 3a7098118..c6479bccb 100644 --- a/azure/cleanup-ecs-pr-proxies.yml +++ b/azure/cleanup-ecs-pr-proxies.yml @@ -61,7 +61,7 @@ jobs: displayName: cache utils pre-requisites - bash: | - pyversion=${{ parameters.python_version }} + pyversion="3.13" PATCH=$(curl -fsSL https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json \ | jq -r --arg pyversion "$pyversion" '[ .[] | select(.stable == true) | .version | select(test("^" + ($pyversion|gsub("\\.";"\\.")) + "\\.\\d+$")) | split(".") | map(tonumber)] | max | join(".")')