From 06dd62f9b49f77cb1f757953ff0c1ded85c0a7bf Mon Sep 17 00:00:00 2001 From: Lein Matsumaru Date: Sat, 22 Oct 2022 09:53:17 +0000 Subject: [PATCH] python3Packages.skl2onnx: relax scikit-learn version requirements --- pkgs/development/python-modules/skl2onnx/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/python-modules/skl2onnx/default.nix b/pkgs/development/python-modules/skl2onnx/default.nix index 4e8f95863119..96511df4f83c 100644 --- a/pkgs/development/python-modules/skl2onnx/default.nix +++ b/pkgs/development/python-modules/skl2onnx/default.nix @@ -10,6 +10,7 @@ , onnxruntime , pandas , unittestCheckHook +, pythonRelaxDepsHook }: buildPythonPackage rec { @@ -30,6 +31,12 @@ buildPythonPackage rec { onnxconverter-common ]; + nativeBuildInputs = [ + pythonRelaxDepsHook + ]; + + pythonRelaxDeps = [ "scikit-learn" ]; + checkInputs = [ onnxruntime pandas