Skip to content

Commit b1d587b

Browse files
Copilotdanieljurek
andauthored
Update Python version to 3.12.x for py2docfx in docindex.yml and archetype-python-release.yml
Agent-Logs-Url: https://github.com/Azure/azure-sdk-for-python/sessions/60fd0893-f7f3-44c5-a476-cdb8c88cdb36 Co-authored-by: danieljurek <2158838+danieljurek@users.noreply.github.com>
1 parent 80b927e commit b1d587b

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

eng/pipelines/docindex.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ jobs:
3434
DocRepoOwner: MicrosoftDocs
3535
DocRepoName: azure-docs-sdk-python
3636
steps:
37-
# py2docfx requires Python >= 3.11
37+
# py2docfx requires Python >= 3.12.x, match docs pipeline version specification
3838
- task: UsePythonVersion@0
39-
displayName: 'Use Python 3.11'
39+
displayName: 'Use Python 3.12.x'
4040
inputs:
41-
versionSpec: '3.11'
41+
versionSpec: '3.12.x'
4242

4343
# Docs CI upgrades pip, wheel, and setuptools
4444
- pwsh: python -m pip install --upgrade pip wheel setuptools

eng/pipelines/templates/stages/archetype-python-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -442,11 +442,11 @@ stages:
442442
Get-ChildItem -Recurse $(Pipeline.Workspace)/${{parameters.ArtifactName}}/
443443
displayName: Show visible artifacts
444444
445-
# py2docfx requires Python >= 3.11
445+
# py2docfx requires Python >= 3.12.x, match docs pipeline version specification
446446
- task: UsePythonVersion@0
447-
displayName: 'Use Python 3.11'
447+
displayName: 'Use Python 3.12.x'
448448
inputs:
449-
versionSpec: '3.11'
449+
versionSpec: '3.12.x'
450450

451451
- template: /eng/pipelines/templates/steps/auth-dev-feed.yml
452452
parameters:

0 commit comments

Comments
 (0)