mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-20 19:12:24 +00:00
update pipline python version from 3.8 to 3.12 (#22517)
### Description As the python3.8 is going to reach EOL. https://discuss.python.org/t/python-3-13-0-final-has-been-released/ https://discuss.python.org/t/python-3-8-is-now-officially-eol/66983 we update our ci pipeline python version which still using 3.8 to 3.12
This commit is contained in:
parent
60da4a2ccd
commit
3174e3da57
15 changed files with 26 additions and 26 deletions
|
|
@ -40,7 +40,7 @@ stages:
|
|||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '3.8'
|
||||
versionSpec: '3.12'
|
||||
addToPath: true
|
||||
architecture: x64
|
||||
|
||||
|
|
|
|||
|
|
@ -377,7 +377,7 @@ stages:
|
|||
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '3.8'
|
||||
versionSpec: '3.12'
|
||||
addToPath: true
|
||||
architecture: x64
|
||||
|
||||
|
|
@ -411,7 +411,7 @@ stages:
|
|||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: "3.9"
|
||||
versionSpec: "3.12"
|
||||
addToPath: true
|
||||
architecture: "x64"
|
||||
|
||||
|
|
@ -447,7 +447,7 @@ stages:
|
|||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: "3.9"
|
||||
versionSpec: "3.12"
|
||||
addToPath: true
|
||||
architecture: "x64"
|
||||
|
||||
|
|
|
|||
|
|
@ -255,7 +255,7 @@ stages:
|
|||
- task: UsePythonVersion@0
|
||||
displayName: 'Use Python'
|
||||
inputs:
|
||||
versionSpec: 3.8
|
||||
versionSpec: 3.12
|
||||
|
||||
- task: MSBuild@1
|
||||
displayName: 'Build Nuget Packages'
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ stages:
|
|||
- task: UsePythonVersion@0
|
||||
displayName: 'Use Python'
|
||||
inputs:
|
||||
versionSpec: 3.8
|
||||
versionSpec: 3.12
|
||||
|
||||
- task: MSBuild@1
|
||||
displayName: 'Build Nuget Packages'
|
||||
|
|
|
|||
|
|
@ -446,7 +446,7 @@ stages:
|
|||
- task: UsePythonVersion@0
|
||||
displayName: 'Use Python'
|
||||
inputs:
|
||||
versionSpec: 3.8
|
||||
versionSpec: 3.12
|
||||
|
||||
- task: MSBuild@1
|
||||
displayName: 'Build Nuget Packages'
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ jobs:
|
|||
displayName: 'Checkout submodules'
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '3.8'
|
||||
versionSpec: '3.12'
|
||||
addToPath: true
|
||||
architecture: $(buildArch)
|
||||
- template: download-deps.yml
|
||||
|
|
|
|||
|
|
@ -233,7 +233,7 @@ stages:
|
|||
- task: UsePythonVersion@0
|
||||
displayName: 'Use Python'
|
||||
inputs:
|
||||
versionSpec: 3.8
|
||||
versionSpec: 3.12
|
||||
|
||||
- task: MSBuild@1
|
||||
displayName: 'Build Nuget Packages'
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ stages:
|
|||
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '3.9'
|
||||
versionSpec: '3.12'
|
||||
addToPath: true
|
||||
|
||||
- template: set-version-number-variables-step.yml
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
parameters:
|
||||
QnnSdk: '2.27.0.240926'
|
||||
build_config: 'RelWithDebInfo'
|
||||
build_config: 'RelWithDebInfo'
|
||||
IsReleaseBuild: false
|
||||
DoEsrp: false
|
||||
qnn_ep_build_pool_name: 'Onnxruntime-QNNEP-Windows-2022-CPU'
|
||||
|
|
@ -32,9 +32,9 @@ stages:
|
|||
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '3.8'
|
||||
versionSpec: '3.12'
|
||||
addToPath: true
|
||||
|
||||
|
||||
- template: jobs/download_win_qnn_sdk.yml
|
||||
parameters:
|
||||
QnnSDKVersion: ${{ parameters.QnnSdk }}
|
||||
|
|
@ -44,7 +44,7 @@ stages:
|
|||
inputs:
|
||||
scriptPath: '$(Build.SourcesDirectory)\tools\ci_build\build.py'
|
||||
arguments: '--use_qnn --qnn_home $(QnnSDKRootDir) $(commonBuildArgs)'
|
||||
|
||||
|
||||
- task: VSBuild@1
|
||||
displayName: 'Build onnxruntime'
|
||||
inputs:
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ parameters:
|
|||
displayName: 'Stage that the initial stage of react-native-ci depends on'
|
||||
type: string
|
||||
default: ''
|
||||
|
||||
|
||||
- name: enable_code_sign
|
||||
displayName: Use GPG to sign the jars
|
||||
type: boolean
|
||||
|
|
@ -58,9 +58,9 @@ stages:
|
|||
steps:
|
||||
- template: use-xcode-version.yml
|
||||
- task: UsePythonVersion@0
|
||||
displayName: Use python 3.9
|
||||
displayName: Use python 3.12
|
||||
inputs:
|
||||
versionSpec: "3.9"
|
||||
versionSpec: "3.12"
|
||||
addToPath: true
|
||||
architecture: "x64"
|
||||
|
||||
|
|
@ -113,9 +113,9 @@ stages:
|
|||
condition: always()
|
||||
- template: use-xcode-version.yml
|
||||
- task: UsePythonVersion@0
|
||||
displayName: Use python 3.9
|
||||
displayName: Use python 3.12
|
||||
inputs:
|
||||
versionSpec: "3.9"
|
||||
versionSpec: "3.12"
|
||||
addToPath: true
|
||||
architecture: "x64"
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ stages:
|
|||
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: "3.9"
|
||||
versionSpec: "3.12"
|
||||
addToPath: true
|
||||
architecture: "x64"
|
||||
|
||||
|
|
|
|||
|
|
@ -11,11 +11,11 @@ steps:
|
|||
- task: UsePythonVersion@0
|
||||
displayName: 'Use Python'
|
||||
inputs:
|
||||
versionSpec: 3.8
|
||||
versionSpec: 3.12
|
||||
|
||||
- task: PythonScript@0
|
||||
displayName: 'Validate Package'
|
||||
inputs:
|
||||
scriptPath: '${{parameters.ScriptPath}}'
|
||||
arguments: '--package_type ${{parameters.PackageType}} --package_name ${{parameters.PackageName}} --package_path ${{parameters.PackagePath}} --platforms_supported ${{parameters.PlatformsSupported}} --verify_nuget_signing ${{parameters.VerifyNugetSigning}}'
|
||||
workingDirectory: ${{parameters.workingDirectory}}
|
||||
workingDirectory: ${{parameters.workingDirectory}}
|
||||
|
|
|
|||
|
|
@ -360,7 +360,7 @@ stages:
|
|||
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '3.8'
|
||||
versionSpec: '3.12'
|
||||
addToPath: true
|
||||
architecture: ${{ parameters.buildArch }}
|
||||
|
||||
|
|
@ -397,4 +397,4 @@ stages:
|
|||
parameters:
|
||||
msbuildPlatform: ${{ parameters.msbuildPlatform }}
|
||||
java_artifact_id: ${{ parameters.java_artifact_id }}
|
||||
buildOnly: false
|
||||
buildOnly: false
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ jobs:
|
|||
displayName: 'Checkout submodules'
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '3.8'
|
||||
versionSpec: '3.12'
|
||||
addToPath: true
|
||||
architecture: $(buildArch)
|
||||
- task: NodeTool@0
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ jobs:
|
|||
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
versionSpec: '3.8'
|
||||
versionSpec: '3.12'
|
||||
addToPath: true
|
||||
architecture: $(buildArch)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue