Skip to content

[Build] Python 3.14 for CPU and WebGpu packages#26500

Merged
tianleiwu merged 2 commits intomainfrom
tlwu/skip_py314_test
Nov 6, 2025
Merged

[Build] Python 3.14 for CPU and WebGpu packages#26500
tianleiwu merged 2 commits intomainfrom
tlwu/skip_py314_test

Conversation

@tianleiwu
Copy link
Copy Markdown
Contributor

@tianleiwu tianleiwu commented Nov 5, 2025

This is a follow up change for #26397:
(1) Enable python 3.14 for webgpu package
(2) Skip python tests for python 3.14 in both CPU and WebGPU package pipelines.

onnx package does not support python 3.14 right now, so python tests depending on onnx will fail. Example error in python package pipeline:

Traceback (most recent call last):
  File "E:\_work\1\s\build\Release\Release\onnx_backend_test_series.py", line 14, in <module>
    import onnx
ModuleNotFoundError: No module named 'onnx'

This is a temporary walkaround to unblock python packaging pipeline for python 3.14. We can re-enable the test after onnx next release (in a few weeks?)

@tianleiwu tianleiwu marked this pull request as draft November 5, 2025 07:36
@tianleiwu tianleiwu marked this pull request as ready for review November 5, 2025 17:55
@tianleiwu tianleiwu requested a review from snnn November 6, 2025 00:03
@tianleiwu tianleiwu enabled auto-merge (squash) November 6, 2025 00:06
@tianleiwu tianleiwu changed the title [Build] skip python tests when python version is 3.14 [Build] Python 3.14 for CPU and WebGpu packages Nov 6, 2025
@tianleiwu tianleiwu merged commit 2214aab into main Nov 6, 2025
97 of 112 checks passed
@tianleiwu tianleiwu deleted the tlwu/skip_py314_test branch November 6, 2025 05:02
Rohanjames1997 pushed a commit to Rohanjames1997/onnxruntime that referenced this pull request Dec 4, 2025
This is a follow up change for
microsoft#26397:
(1) Enable python 3.14 for webgpu package
(2) Skip python tests for python 3.14 just like in python cuda package
pipelines.

onnx package does not support python 3.14 right now, so python tests
depending on onnx will fail. Example error in python package pipeline:
```
Traceback (most recent call last):
  File "E:\_work\1\s\build\Release\Release\onnx_backend_test_series.py", line 14, in <module>
    import onnx
ModuleNotFoundError: No module named 'onnx'
```

This is a temporary walkaround to unblock python packaging pipeline for
python 3.14. We can re-enable the test after onnx next release (in a few
weeks?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants