Merged
Conversation
Contributor
Author
[[package]]
name = "onnxruntime"
version = "1.20.1"
source = { registry = "https://pypi.org/simple" }
resolution-markers = [
"python_full_version < '3.10'",
]
[[package]]
name = "onnxruntime"
version = "1.24.1"
source = { registry = "https://pypi.org/simple" }
resolution-markers = [
"python_full_version >= '3.11'",
"python_full_version == '3.10.*'",
]Actually we don't have 1.24.1 wheels for |
tianleiwu
approved these changes
Feb 15, 2026
Contributor
|
onnxruntime does support build from source with python 3.10. python 3.10 end of life is October 2026. It is also right that ORT 1.24 removed python 3.10 packages, as shown in Lines 629 to 632 in 0df5dbc |
Contributor
|
/azp run Linux QNN CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI, Windows ARM64 QNN CI Pipeline, Windows GPU Doc Gen CI Pipeline |
|
Azure Pipelines successfully started running 4 pipeline(s). |
tianleiwu
pushed a commit
that referenced
this pull request
Mar 16, 2026
### Description The requires-python field in the [metadata](https://pypi.org/pypi/onnxruntime/json) is currently set to `python >= 3.10`. However, since ONNX Runtime has dropped support for `Python 3.10`, this constraint is now inaccurate and may lead to dependency resolution issues in `uv lock`. Related Commits: #26397
tianleiwu
added a commit
that referenced
this pull request
Mar 16, 2026
This cherry-picks the following commits for the release: | Commit ID | PR Number | Commit Title | |-----------|-----------|-------------| | eb23be8 | #27354 | Update python_requires | | d626b56 | #27479 | [QNN EP] Enable offline x64 compilation with memhandle IO type | | 60ce0e6 | #27607 | Use `_tpause` instead of `__builtin_ia32_tpause` | | 69feb84 | #27591 | Add PCI bus fallback for Linux GPU device discovery in containerized environments | | de92668 | #27650 | Revert "[QNN EP] Fix error messages being logged as VERBOSE instead o… | | 0f66526 | #27644 | [Plugin EP] Check for nullptr before dereferencing | | 929f73e | #27666 | Plugin EP: Fix bug that incorrectly assigned duplicate MetDef IDs to fused nodes in different GraphViews | --------- Co-authored-by: XXXXRT666 <157766680+XXXXRT666@users.noreply.github.com> Co-authored-by: derdeljan-msft <derdeljan@microsoft.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Shogo Yamazaki <f9ifphmiz7i8akhowc8l5t1x9qp0lfu4@mocknen.net> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: baijumeswani <12852605+baijumeswani@users.noreply.github.com> Co-authored-by: edgchen1 <18449977+edgchen1@users.noreply.github.com> Co-authored-by: Baiju Meswani <bmeswani@microsoft.com> Co-authored-by: Artur Wojcik <artur.wojcik@amd.com> Co-authored-by: Adrian Lizarraga <adlizarraga@microsoft.com>
This was referenced Mar 23, 2026
deps(nuget): Bump the microsoft-packages group with 8 updates
Ellerbach/azure-ai-search-simulator#80
Closed
This was referenced Mar 30, 2026
AVHopp
added a commit
to emdgroup/baybe
that referenced
this pull request
Apr 1, 2026
Release `1.24.1` of `onnxruntime` dropped support for Python 3.10, see https://github.com/microsoft/onnxruntime/releases/tag/v1.24.1. Unfortunately, they did not properly update their metadata, which causes issues when trying to install the package as `uv` *thinks* that python 3.10 is still supported for several versions that actually do not support this anymore. The metadata was only fixed recently in https://github.com/microsoft/onnxruntime/releases/tag/v1.24.4 (see microsoft/onnxruntime#27354). Although this does not cause issues when *updating* the lock file, it creates issues when it has to be fully regenerated which e.g. happens in #771 . It is thus necessary to pin the used version of `onnxruntime` for python 3.10.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The requires-python field in the metadata is currently set to
python >= 3.10. However, since ONNX Runtime has dropped support forPython 3.10, this constraint is now inaccurate and may lead to dependency resolution issues inuv lock.Related Commits: #26397