You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by vt...@apache.org on 2025/08/29 06:25:05 UTC
(beam) branch fix-python-ml updated: Pin onnx
This is an automated email from the ASF dual-hosted git repository.
vterentev pushed a commit to branch fix-python-ml
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/fix-python-ml by this push:
new 6cba536bb73 Pin onnx
6cba536bb73 is described below
commit 6cba536bb73df5aebbe4218df96ec16cde511e96
Author: Vitaly Terentyev <vi...@akvelon.com>
AuthorDate: Fri Aug 29 10:24:52 2025 +0400
Pin onnx
---
sdks/python/setup.py | 1 +
sdks/python/tox.ini | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/sdks/python/setup.py b/sdks/python/setup.py
index 50f19c85912..69a4ff79fd0 100644
--- a/sdks/python/setup.py
+++ b/sdks/python/setup.py
@@ -586,6 +586,7 @@ if __name__ == '__main__':
],
'tft': ['tensorflow_transform>=1.14.0,<1.15.0'],
'onnx': [
+ 'onnx==1.18.0'
'onnxruntime==1.13.1',
'torch==1.13.1',
'tensorflow==2.11.0',
diff --git a/sdks/python/tox.ini b/sdks/python/tox.ini
index 9b17089dc11..f344cfc61cc 100644
--- a/sdks/python/tox.ini
+++ b/sdks/python/tox.ini
@@ -108,7 +108,7 @@ commands =
deps =
pip==25.0.1
accelerate>=1.6.0
- ml-dtypes==0.5.3
+ onnx<1.19.0
setenv =
extras = test,gcp,dataframe,ml_test
commands =