From 2268920afcf1b2710e6928cf1b657045d6437ad3 Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Fri, 1 Apr 2022 20:13:32 -0400 Subject: [PATCH] .azurepipelines: Use Python 3.8 REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3891 Changes the Python version used in pipelines to 3.8.x (3.8.12) to workaround an issue discovered after 3.9.10 that causes stuart_update to fail on a web_dependency (e.g. GCC ARM compilers). The Python version should be updated to latest once that issue is root caused and a long term fix is in place. This change is introduced now to unblock overall CI. Cc: Sean Brogan Cc: Bret Barkelew Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Michael Kubacki Reviewed-by: Sean Brogan --- .azurepipelines/Ubuntu-PatchCheck.yml | 2 +- .azurepipelines/templates/platform-build-run-steps.yml | 2 +- .azurepipelines/templates/pr-gate-steps.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.azurepipelines/Ubuntu-PatchCheck.yml b/.azurepipelines/Ubuntu-PatchCheck.yml index d55c238592..1bc28176b6 100644 --- a/.azurepipelines/Ubuntu-PatchCheck.yml +++ b/.azurepipelines/Ubuntu-PatchCheck.yml @@ -27,7 +27,7 @@ steps: - task: UsePythonVersion@0 inputs: - versionSpec: '3.9.x' + versionSpec: '3.8.x' architecture: 'x64' - script: | diff --git a/.azurepipelines/templates/platform-build-run-steps.yml b/.azurepipelines/templates/platform-build-run-steps.yml index 36cdce9bf8..97e7faa266 100644 --- a/.azurepipelines/templates/platform-build-run-steps.yml +++ b/.azurepipelines/templates/platform-build-run-steps.yml @@ -42,7 +42,7 @@ steps: - task: UsePythonVersion@0 inputs: - versionSpec: "3.9.x" + versionSpec: "3.8.x" architecture: "x64" - script: pip install -r pip-requirements.txt --upgrade diff --git a/.azurepipelines/templates/pr-gate-steps.yml b/.azurepipelines/templates/pr-gate-steps.yml index 6601c24742..70c19a4621 100644 --- a/.azurepipelines/templates/pr-gate-steps.yml +++ b/.azurepipelines/templates/pr-gate-steps.yml @@ -20,7 +20,7 @@ steps: - task: UsePythonVersion@0 inputs: - versionSpec: '3.9.x' + versionSpec: '3.8.x' architecture: 'x64' - script: pip install -r pip-requirements.txt --upgrade