Skip to content

Commit 2fd014f

Browse files
committed
Setting deploy pipeline runtime python to 3.13
1 parent 9ee39d8 commit 2fd014f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

azure/common/deploy-stage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,17 +126,17 @@ stages:
126126

127127
- bash: |
128128
PATCH=$(curl -s https://api.github.com/repos/actions/python-versions/releases \
129-
| jq -r '[.[] | .tag_name | select(startswith("${{ parameters.python_version }}"))] | sort | last' \
129+
| jq -r '[.[] | .tag_name | select(startswith("3.13"))] | sort | last' \
130130
| cut -d- -f1)
131131
echo "Resolved latest python version: $PATCH"
132132
echo "##vso[task.setvariable variable=LD_LIBRARY_PATH;]/agent/_work/_tool/Python/${PATCH}/x64/lib/"
133133
displayName: 'Query and set python tool cache path'
134134
135135
- task: UsePythonVersion@0
136136
name: UsePy
137-
displayName: "Use Python ${{ parameters.python_version }}"
137+
displayName: "Use Python 3.13"
138138
inputs:
139-
versionSpec: ${{ parameters.python_version }}
139+
versionSpec: 3.13
140140

141141
- bash: |
142142
echo "Checking the python version in use to set LD_LIBRARY_PATH"

0 commit comments

Comments
 (0)