From 383d34159d136f2dc923dfb6a722912b1af451b7 Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Thu, 25 Aug 2022 11:03:29 -0400 Subject: [PATCH] .azurepipelines: Use Python 3.10.6+ REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3891 Changes the Python version used in pipelines to 3.10.6 or greater since that version introduces a fix (bp0-47231) for inconsistent trailing slashes in tarfile longname directories. This is required for stuart_update to succeed when handling a web_dependency (e.g. GCC ARM compilers). Cc: Sean Brogan Cc: Bret Barkelew Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Michael Kubacki Reviewed-by: Michael D Kinney --- .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 1bc28176b6..b86d4bc3b9 100644 --- a/.azurepipelines/Ubuntu-PatchCheck.yml +++ b/.azurepipelines/Ubuntu-PatchCheck.yml @@ -27,7 +27,7 @@ steps: - task: UsePythonVersion@0 inputs: - versionSpec: '3.8.x' + versionSpec: '>=3.10.6' architecture: 'x64' - script: | diff --git a/.azurepipelines/templates/platform-build-run-steps.yml b/.azurepipelines/templates/platform-build-run-steps.yml index 97e7faa266..40a31a509f 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.8.x" + versionSpec: ">=3.10.6" 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 70c19a4621..cb431e53fc 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.8.x' + versionSpec: '>=3.10.6' architecture: 'x64' - script: pip install -r pip-requirements.txt --upgrade