onnx: 1.20.1 -> 1.21.0 (#504718)

This commit is contained in:
kirillrdy
2026-04-12 20:14:48 +00:00
committed by GitHub
2 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -33,13 +33,13 @@ stdenv.mkDerivation (finalAttrs: {
strictDeps = true;
pname = "onnx";
version = "1.20.1";
version = "1.21.0";
src = fetchFromGitHub {
owner = "onnx";
repo = "onnx";
tag = "v${finalAttrs.version}";
hash = "sha256-XZJXD6sBvVJ6cLPyDkKOW8oSkjqcw9whUqDWd7dxY3c=";
hash = "sha256-eF6BdTwTuHh6ckuLGN1d6z2GLU47lPqtzu4zIv8+cTs=";
};
outputs = [
@@ -74,6 +74,10 @@ buildPythonPackage (finalAttrs: {
disabledTestPaths = [
# Circular dependency with onnxscript
"src/onnx_ir/passes/common/common_subexpression_elimination_test.py"
# ImportError: cannot import name 'hub' from 'onnx'
# onnx.hub was removed in 1.21.0
"tools/model_zoo_test/model_zoo_test.py"
];
# Importing onnxruntime in the sandbox crashes on aarch64-linux: