Skip to content

Commit f49ae6f

Browse files
author
Changming Sun
authored
Skip setup-python for arm64 Linux builds (#26497)
## Problem The setup-python action does not support AzureLinux 3.0.20251030 for arm64 architecture, causing workflow failures. ## Solution Skip the setup-python step for arm64 builds since Python is already available in the Docker containers used for those builds. ## Error Details ``` Version 3.x was not found in the local cache (node:4478) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) Error: The version '3.x' with architecture 'arm64' was not found for azurelinux 3.0.20251030 undefined. The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json ```
1 parent c0c8c06 commit f49ae6f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/reusable_linux_build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
uses: actions/checkout@v5
7979

8080
- name: Set up Python ${{ inputs.python_version }}
81+
if: inputs.architecture != 'arm64'
8182
uses: actions/setup-python@v6
8283
with:
8384
python-version: ${{ inputs.python_version }}

0 commit comments

Comments
 (0)