Skip to content

Commit 3107860

Browse files
edvilmeCopilot
andauthored
Float Azure build tooling Python to 3.x (#2033)
## Summary - Use `3.x` instead of `3.13` for the direct stable/pre-release Azure Python setup tasks, with explicit `allowUnstable: false`. - Leave both DevDiv caller files unchanged: they inherit the shared setup default, changed to `3.x` by microsoft/pylance-eng#8. No new caller parameters or template-schema dependency are needed. - Preserve triggers, schedules, platform matrices, Node version, PET artifacts, localization resources, supported versions, and publishing settings. The shared default and these direct-selector changes can merge independently. DevDiv jobs pick up the default when the shared template PR lands. This PR now changes only the two direct-selector files. ## Validation - Prettier passed for all four inspected consumer pipeline files. - Parsed all 16 shared and consumer Azure YAML files. - Verified both DevDiv files match main and supply no new `pythonVersion` input. - Compared direct pipelines with main after removing only the selector/stable-selection edits: all other configuration is identical. - Previously ran both unchanged metadata scripts on isolated stable/pre-release package fixtures using Python 3.13.14, confirming expected versions and telemetry flag without modifying repository package.json. - Exact final scope: two files, four insertions, two deletions. Whitespace checks passed. Azure DevOps template expansion and hosted-agent execution have not been run. Before rollout, validate with `publishExtension: false`. `3.x` selects a matching available stable agent interpreter, not necessarily the latest Python.org release. --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 956d3afd-ae0b-486c-a60c-3a6276c23213
1 parent 30fa368 commit 3107860

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎build/azure-pipeline.pre-release.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ extends:
7171

7272
- task: UsePythonVersion@0
7373
inputs:
74-
versionSpec: '3.13'
74+
versionSpec: '3.x'
75+
allowUnstable: false
7576
addToPath: true
7677
architecture: 'x64'
7778
displayName: Select Python version

‎build/azure-pipeline.stable.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ extends:
6161

6262
- task: UsePythonVersion@0
6363
inputs:
64-
versionSpec: '3.13'
64+
versionSpec: '3.x'
65+
allowUnstable: false
6566
addToPath: true
6667
architecture: 'x64'
6768
displayName: Select Python version

0 commit comments

Comments
 (0)