From 5cba620458d9e7132af0d442a4bf22ac5880f192 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 11 Apr 2026 16:33:13 +0000 Subject: [PATCH] python3Packages.onnx-ir: skip failing tests --- pkgs/development/python-modules/onnx-ir/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/onnx-ir/default.nix b/pkgs/development/python-modules/onnx-ir/default.nix index c4dbfc72ac66..cd419744a99d 100644 --- a/pkgs/development/python-modules/onnx-ir/default.nix +++ b/pkgs/development/python-modules/onnx-ir/default.nix @@ -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: