Skip to content

Conversation

@frittsy
Copy link

@frittsy frittsy commented Jan 21, 2026

Context

Adds support for ARM64 architecture when downloading or using local copies of Python binaries

Fixes #21089


Task Name

UsePythonVersionV0


Description

  • Adds arm64 as a valid input to the architecture parameter
  • Updates localization strings to include arm64 in task documentation
  • Updates unit test and mock data to validate selecting the arm64 architecture

Risk Assessment (Low / Medium / High)

Low risk, all previous functionality remains the same. Simply allows an additional architecture option.


Change Behind Feature Flag (Yes / No)

No

Tech Design / Approach

Similar approach to the JavaToolInstallerV1 task, with its jdkArchitectureOption parameter.

Another approach would be to try and override the input architecture option if os.arch() detects being in an ARM environment, similar to what DockerInstallerV0 does. Then consumers of this task would not need to change their input parameters when switching to ARM-based agents, but it does make the existing architecture parameter a bit more confusing.


Documentation Changes Required (Yes/No)

Yes, arm64 needs to be documented as a valid option to the architecture parameter


Unit Tests Added or Updated (Yes / No)

Yes


Additional Testing Performed

None yet


Logging Added/Updated (Yes/No)

No


Telemetry Added/Updated (Yes/No)

No


Rollback Scenario and Process (Yes/No)

Revert commit or roll forward with a fix


Dependency Impact Assessed and Regression Tested (Yes/No)

No


Checklist

  • Related issue linked (if applicable)
  • Task version was bumped — see versioning guide
  • Verified the task behaves as expected

@frittsy frittsy requested review from a team and tarunramsinghani as code owners January 21, 2026 19:59
@frittsy
Copy link
Author

frittsy commented Jan 21, 2026

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: UsePythonVersion fails on Linux arm64

1 participant