This is an automated email from the ASF dual-hosted git repository.
xtsong pushed a commit to branch release-0.1
in repository https://gitbox.apache.org/repos/asf/flink-agents.git
The following commit(s) were added to refs/heads/release-0.1 by this push:
new a42c7b54 [hotfix] Explicitly limit version for onnxruntime for python
3.10. (#520)
a42c7b54 is described below
commit a42c7b5409ff8fbbe4f35d8b46f12152bb34f5c1
Author: Wenjin Xie <[email protected]>
AuthorDate: Fri Feb 6 16:33:48 2026 +0800
[hotfix] Explicitly limit version for onnxruntime for python 3.10. (#520)
---
python/pyproject.toml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/python/pyproject.toml b/python/pyproject.toml
index 63d5a93b..ffeaf73a 100644
--- a/python/pyproject.toml
+++ b/python/pyproject.toml
@@ -54,6 +54,8 @@ dependencies = [
"openai>=1.66.3",
"anthropic>=0.64.0",
"chromadb==1.0.21",
+ "onnxruntime<1.24.1;python_version<'3.11'",
+ "onnxruntime>=1.24.1;python_version>='3.11'",
]
[tool.setuptools]