diff --git a/tools/ci_build/github/azure-pipelines/nuget/templates/test_win.yml b/tools/ci_build/github/azure-pipelines/nuget/templates/test_win.yml index ddcea447ad..4842fcbd4d 100644 --- a/tools/ci_build/github/azure-pipelines/nuget/templates/test_win.yml +++ b/tools/ci_build/github/azure-pipelines/nuget/templates/test_win.yml @@ -40,7 +40,7 @@ stages: steps: - task: UsePythonVersion@0 inputs: - versionSpec: '3.8' + versionSpec: '3.12' addToPath: true architecture: x64 diff --git a/tools/ci_build/github/azure-pipelines/post-merge-jobs.yml b/tools/ci_build/github/azure-pipelines/post-merge-jobs.yml index 833e97b437..7f131590c9 100644 --- a/tools/ci_build/github/azure-pipelines/post-merge-jobs.yml +++ b/tools/ci_build/github/azure-pipelines/post-merge-jobs.yml @@ -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" diff --git a/tools/ci_build/github/azure-pipelines/rocm-nuget-packaging-pipeline.yml b/tools/ci_build/github/azure-pipelines/rocm-nuget-packaging-pipeline.yml index 9e1387ac47..471e911843 100644 --- a/tools/ci_build/github/azure-pipelines/rocm-nuget-packaging-pipeline.yml +++ b/tools/ci_build/github/azure-pipelines/rocm-nuget-packaging-pipeline.yml @@ -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' diff --git a/tools/ci_build/github/azure-pipelines/stages/nuget-cuda-packaging-stage.yml b/tools/ci_build/github/azure-pipelines/stages/nuget-cuda-packaging-stage.yml index b8ade5d36f..7133031c84 100644 --- a/tools/ci_build/github/azure-pipelines/stages/nuget-cuda-packaging-stage.yml +++ b/tools/ci_build/github/azure-pipelines/stages/nuget-cuda-packaging-stage.yml @@ -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' diff --git a/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml b/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml index e933e1e70f..a98efa8f3f 100644 --- a/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml +++ b/tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml @@ -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' diff --git a/tools/ci_build/github/azure-pipelines/templates/linux-wasm-ci.yml b/tools/ci_build/github/azure-pipelines/templates/linux-wasm-ci.yml index 2ab432e94f..41ba5c3868 100644 --- a/tools/ci_build/github/azure-pipelines/templates/linux-wasm-ci.yml +++ b/tools/ci_build/github/azure-pipelines/templates/linux-wasm-ci.yml @@ -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 diff --git a/tools/ci_build/github/azure-pipelines/templates/ondevice-training-cpu-packaging-pipeline.yml b/tools/ci_build/github/azure-pipelines/templates/ondevice-training-cpu-packaging-pipeline.yml index 5cfa135135..90055cbbc6 100644 --- a/tools/ci_build/github/azure-pipelines/templates/ondevice-training-cpu-packaging-pipeline.yml +++ b/tools/ci_build/github/azure-pipelines/templates/ondevice-training-cpu-packaging-pipeline.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' diff --git a/tools/ci_build/github/azure-pipelines/templates/publish-nuget-steps.yml b/tools/ci_build/github/azure-pipelines/templates/publish-nuget-steps.yml index 8639a5ca0a..6e13db5536 100644 --- a/tools/ci_build/github/azure-pipelines/templates/publish-nuget-steps.yml +++ b/tools/ci_build/github/azure-pipelines/templates/publish-nuget-steps.yml @@ -34,7 +34,7 @@ stages: - task: UsePythonVersion@0 inputs: - versionSpec: '3.9' + versionSpec: '3.12' addToPath: true - template: set-version-number-variables-step.yml diff --git a/tools/ci_build/github/azure-pipelines/templates/qnn-ep-win.yml b/tools/ci_build/github/azure-pipelines/templates/qnn-ep-win.yml index 30280c6e22..7ec8445332 100644 --- a/tools/ci_build/github/azure-pipelines/templates/qnn-ep-win.yml +++ b/tools/ci_build/github/azure-pipelines/templates/qnn-ep-win.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: diff --git a/tools/ci_build/github/azure-pipelines/templates/react-native-ci.yml b/tools/ci_build/github/azure-pipelines/templates/react-native-ci.yml index 8593aa2d82..ea3ec00e68 100644 --- a/tools/ci_build/github/azure-pipelines/templates/react-native-ci.yml +++ b/tools/ci_build/github/azure-pipelines/templates/react-native-ci.yml @@ -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" diff --git a/tools/ci_build/github/azure-pipelines/templates/stages/mac-ios-packaging-build-stage.yml b/tools/ci_build/github/azure-pipelines/templates/stages/mac-ios-packaging-build-stage.yml index 0d23304892..a3b6bc1025 100644 --- a/tools/ci_build/github/azure-pipelines/templates/stages/mac-ios-packaging-build-stage.yml +++ b/tools/ci_build/github/azure-pipelines/templates/stages/mac-ios-packaging-build-stage.yml @@ -62,7 +62,7 @@ stages: - task: UsePythonVersion@0 inputs: - versionSpec: "3.9" + versionSpec: "3.12" addToPath: true architecture: "x64" diff --git a/tools/ci_build/github/azure-pipelines/templates/validate-package.yml b/tools/ci_build/github/azure-pipelines/templates/validate-package.yml index 5014b315a4..529cca4586 100644 --- a/tools/ci_build/github/azure-pipelines/templates/validate-package.yml +++ b/tools/ci_build/github/azure-pipelines/templates/validate-package.yml @@ -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}} diff --git a/tools/ci_build/github/azure-pipelines/templates/win-ci.yml b/tools/ci_build/github/azure-pipelines/templates/win-ci.yml index 2cb7f94470..27c97bee23 100644 --- a/tools/ci_build/github/azure-pipelines/templates/win-ci.yml +++ b/tools/ci_build/github/azure-pipelines/templates/win-ci.yml @@ -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 \ No newline at end of file + buildOnly: false diff --git a/tools/ci_build/github/azure-pipelines/templates/win-wasm-ci.yml b/tools/ci_build/github/azure-pipelines/templates/win-wasm-ci.yml index 64e7b6dbb4..5c18d075fc 100644 --- a/tools/ci_build/github/azure-pipelines/templates/win-wasm-ci.yml +++ b/tools/ci_build/github/azure-pipelines/templates/win-wasm-ci.yml @@ -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 diff --git a/tools/ci_build/github/azure-pipelines/win-qnn-ci-pipeline.yml b/tools/ci_build/github/azure-pipelines/win-qnn-ci-pipeline.yml index fdb6998f53..f55f476f70 100644 --- a/tools/ci_build/github/azure-pipelines/win-qnn-ci-pipeline.yml +++ b/tools/ci_build/github/azure-pipelines/win-qnn-ci-pipeline.yml @@ -54,7 +54,7 @@ jobs: - task: UsePythonVersion@0 inputs: - versionSpec: '3.8' + versionSpec: '3.12' addToPath: true architecture: $(buildArch)