File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11name : Build Python package
2- run-name : Generate Python ${{ inputs.VERSION || '3.11.0 ' }}
2+ run-name : Generate Python ${{ inputs.VERSION || '3.12.3 ' }}
33on :
44 workflow_dispatch :
55 inputs :
66 VERSION :
77 description : ' Python version to build and upload'
8- default : ' 3.11.0 '
8+ default : ' 3.12.3 '
99 required : true
1010 PUBLISH_RELEASES :
1111 description : ' Whether to publish releases'
2525 - ' main'
2626
2727env :
28- VERSION : ${{ inputs.VERSION || '3.11.0 ' }}
28+ VERSION : ${{ inputs.VERSION || '3.12.3 ' }}
2929defaults :
3030 run :
3131 shell : pwsh
6767 include : ${{ fromJson(needs.generate_matrix.outputs.matrix) }}
6868 runs-on : ${{ matrix.os }}
6969 env :
70- ARTIFACT_NAME : python-${{ inputs.VERSION || '3.11.0 ' }}-${{ matrix.platform }}-${{ matrix.arch }}
70+ ARTIFACT_NAME : python-${{ inputs.VERSION || '3.12.3 ' }}-${{ matrix.platform }}-${{ matrix.arch }}
7171 steps :
7272
7373 - name : Check out repository code
9494 include : ${{ fromJson(needs.generate_matrix.outputs.matrix) }}
9595 runs-on : ${{ matrix.os }}
9696 env :
97- ARTIFACT_NAME : python-${{ inputs.VERSION || '3.11.0 ' }}-${{ matrix.platform }}-${{ matrix.arch }}
97+ ARTIFACT_NAME : python-${{ inputs.VERSION || '3.12.3 ' }}-${{ matrix.platform }}-${{ matrix.arch }}
9898 steps :
9999
100100 - name : Check out repository code
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ chmod +x ../python $PYTHON_MAJOR $PYTHON_MAJOR_DOT_MINOR $PYTHON_MAJOR_MINOR pyt
7171echo " Upgrading pip..."
7272export PIP_ROOT_USER_ACTION=ignore
7373./python -m ensurepip
74- ./python -m pip install --upgrade pip --disable-pip-version-check --no-warn-script-location
74+ ./python -m pip install --upgrade --force-reinstall pip --disable-pip-version-check --no-warn-script-location
7575
7676echo " Install OpenSSL certificates"
7777sh -e " ${PYTHON_APPLICATION_PATH} /Install Certificates.command"
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ chmod +x ../python $PYTHON_MAJOR $PYTHON_MAJOR_DOT_MINOR $PYTHON_MAJORMINOR pyth
5151echo " Upgrading pip..."
5252export PIP_ROOT_USER_ACTION=ignore
5353./python -m ensurepip
54- ./python -m pip install --upgrade pip --disable-pip-version-check --no-warn-script-location
54+ ./python -m pip install --upgrade --force-reinstall pip --disable-pip-version-check --no-warn-script-location
5555
5656echo " Create complete file"
5757touch $PYTHON_TOOLCACHE_VERSION_PATH /x64.complete
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ if ($MajorVersion -ne "2") {
135135Write-Host " Install and upgrade Pip"
136136$Env: PIP_ROOT_USER_ACTION = " ignore"
137137$PythonExePath = Join-Path - Path $PythonArchPath - ChildPath " python.exe"
138- cmd.exe / c " $PythonExePath -m ensurepip && $PythonExePath -m pip install --upgrade pip --no-warn-script-location"
138+ cmd.exe / c " $PythonExePath -m ensurepip && $PythonExePath -m pip install --upgrade --force-reinstall pip --no-warn-script-location"
139139if ($LASTEXITCODE -ne 0 ) {
140140 Throw " Error happened during pip installation / upgrade"
141141}
You can’t perform that action at this time.
0 commit comments