Skip to content

Commit 010bc28

Browse files
committed
python 3.14
1 parent fc3bc09 commit 010bc28

File tree

20 files changed

+98
-36
lines changed

20 files changed

+98
-36
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,10 +595,10 @@ def finalize_options(self):
595595
"Topic :: Software Development :: Libraries :: Python Modules",
596596
"Programming Language :: Python",
597597
"Programming Language :: Python :: 3 :: Only",
598-
"Programming Language :: Python :: 3.10",
599598
"Programming Language :: Python :: 3.11",
600599
"Programming Language :: Python :: 3.12",
601600
"Programming Language :: Python :: 3.13",
601+
"Programming Language :: Python :: 3.14",
602602
]
603603

604604
if enable_training or enable_training_apis:

tools/ci_build/github/azure-pipelines/py-cuda-package-test-pipeline.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ stages:
4444
displayName: 'Download Pipeline Artifact - Win GPU 3.13'
4545
artifact: 'win_gpu_wheel_3.13'
4646
patterns: '*.whl'
47-
47+
- download: build
48+
displayName: 'Download Pipeline Artifact - Win GPU 3.14'
49+
artifact: 'win_gpu_wheel_3.14'
50+
patterns: '*.whl'
4851
- script: find $(Pipeline.Workspace) -name \*win_amd64.whl -exec mv {} $(Pipeline.Workspace)/build/onnxruntime_gpu \;
4952
displayName: 'Merge files together'
5053

tools/ci_build/github/azure-pipelines/py-dml-packaging-pipeline.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,10 @@ extends:
5656
EP_BUILD_FLAGS: --use_dml
5757
EP_NAME: directml
5858
cmake_build_type: ${{ parameters.cmake_build_type }}
59+
- template: stages/py-win-gpu-stage.yml
60+
parameters:
61+
MACHINE_POOL: 'onnxruntime-Win2022-GPU-dml-A10'
62+
PYTHON_VERSION: '3.14'
63+
EP_BUILD_FLAGS: --use_dml
64+
EP_NAME: directml
65+
cmake_build_type: ${{ parameters.cmake_build_type }}

tools/ci_build/github/azure-pipelines/stages/py-cpu-packaging-stage.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ stages:
9494
PythonVersion: '3.12'
9595
Python313_x64:
9696
PythonVersion: '3.13'
97+
Python314_x64:
98+
PythonVersion: '3.14'
9799
variables:
98100
OnnxRuntimeBuildDirectory: '$(Build.BinariesDirectory)'
99101
ExtraParam: ${{ parameters.build_py_parameters }}
@@ -138,7 +140,7 @@ stages:
138140
parameters:
139141
${{if eq(variables['Build.SourceBranch'], 'refs/heads/main')}}:
140142
symbolExpiryTime: 60
141-
includePublicSymbolServer: true
143+
includePublicSymbolServer: true
142144
symbolsArtifactName: onnxruntime_cpu_win_x64_$(PythonVersion)
143145
symbolsVersion: $(Build.BuildId)
144146
symbolProject: 'ONNX Runtime'
@@ -204,14 +206,21 @@ stages:
204206
extra_build_arg: ${{ parameters.build_py_parameters }}
205207
cmake_build_type: ${{ parameters.cmake_build_type }}
206208
python_version: '3.12'
207-
209+
208210
- template: ../templates/py-macos.yml
209211
parameters:
210212
arch: 'arm64'
211213
extra_build_arg: ${{ parameters.build_py_parameters }}
212214
cmake_build_type: ${{ parameters.cmake_build_type }}
213215
python_version: '3.13'
214216

217+
- template: ../templates/py-macos.yml
218+
parameters:
219+
arch: 'arm64'
220+
extra_build_arg: ${{ parameters.build_py_parameters }}
221+
cmake_build_type: ${{ parameters.cmake_build_type }}
222+
python_version: '3.14'
223+
215224
- ${{ if eq(parameters.enable_linux_arm, true) }}:
216225
- stage: Python_Packaging_Linux_ARM
217226
dependsOn: []

tools/ci_build/github/azure-pipelines/stages/py-gpu-packaging-stage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ parameters:
3535
- '3.11'
3636
- '3.12'
3737
- '3.13'
38+
- '3.14'
3839

3940
stages:
4041
- ${{ if eq(parameters.cuda_version, '12.8') }}:

tools/ci_build/github/azure-pipelines/templates/py-package-smoking-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
PythonVersion: '3.12'
3333
Python313:
3434
PythonVersion: '3.13'
35+
Python314:
36+
PythonVersion: '3.14'
3537
steps:
3638
- checkout: none
3739

@@ -58,4 +60,3 @@ jobs:
5860
python3 -c "import onnxruntime as ort; print(ort.__version__)"
5961
workingDirectory: $(Pipeline.Workspace)/build/onnxruntime-${{ parameters.arch }}-${{ parameters.ep }}
6062
displayName: Test Package Installation
61-

tools/ci_build/github/azure-pipelines/templates/py-win-arm64ec-qnn.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
PythonVersion: '3.12'
3636
Python313_x64:
3737
PythonVersion: '3.13'
38+
Python314_x64:
39+
PythonVersion: '3.14'
3840
variables:
3941
GRADLE_OPTS: '-Dorg.gradle.daemon=false'
4042
VSGenerator: 'Visual Studio 17 2022'
@@ -113,5 +115,3 @@ jobs:
113115
inputs:
114116
artifactName: onnxruntime_qnn_arm64ec_$(PythonVersion)
115117
targetPath: '$(Build.ArtifactStagingDirectory)'
116-
117-

tools/ci_build/github/azure-pipelines/templates/py-win-x64-qnn.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
PythonVersion: '3.12'
4040
Python313_x64:
4141
PythonVersion: '3.13'
42+
Python314_x64:
43+
PythonVersion: '3.14'
4244
variables:
4345
GRADLE_OPTS: '-Dorg.gradle.daemon=false'
4446
VSGenerator: 'Visual Studio 17 2022'
@@ -51,9 +53,9 @@ jobs:
5153
parameters:
5254
host_cpu_arch: 'x64'
5355
python_version: $(PythonVersion)
54-
56+
5557
- script: python -m pip install -r $(Build.SourcesDirectory)\tools\ci_build\github\windows\python\requirements.txt
56-
58+
5759
- template: set-nightly-build-option-variable-step.yml
5860

5961
- template: jobs/download_win_qnn_sdk.yml

tools/ci_build/github/azure-pipelines/templates/set-python-manylinux-variables-step.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ steps:
2121
variables = {
2222
"PythonManylinuxDir": "/opt/python/cp313-cp313"
2323
}
24+
elif version == "3.14":
25+
variables = {
26+
"PythonManylinuxDir": "/opt/python/cp314-cp314"
27+
}
2428
else:
2529
raise ValueError("Unsupported Python version: '{}'".format(version))
2630

tools/ci_build/github/linux/build_linux_python_package.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ ENABLE_CACHE=false
1212
PYTHON_EXES=(
1313
"/opt/python/cp311-cp311/bin/python3.11"
1414
"/opt/python/cp313-cp313/bin/python3.13"
15-
"/opt/python/cp313-cp313t/bin/python3.13t"
16-
"/opt/python/cp312-cp312/bin/python3.12"
15+
"/opt/python/cp314-cp314/bin/python3.14"
16+
"/opt/python/cp312-cp312/bin/python3.12"
1717
)
1818
while getopts "d:p:x:c:e" parameter_Option
1919
do case "${parameter_Option}"

0 commit comments

Comments
 (0)