diff options
author | Lein Matsumaru <appleprincess@appleprincess.io> | 2022-10-22 09:53:17 +0000 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2022-10-24 09:12:13 +0200 |
commit | 06dd62f9b49f77cb1f757953ff0c1ded85c0a7bf (patch) | |
tree | 003084b05e87aa136730946f02ef45e1d09296a3 | |
parent | 4e0ad66f8cbec4a69c1d0e82ec775ff1fc8550b1 (diff) |
python3Packages.skl2onnx: relax scikit-learn version requirements
-rw-r--r-- | pkgs/development/python-modules/skl2onnx/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/skl2onnx/default.nix b/pkgs/development/python-modules/skl2onnx/default.nix index 4e8f95863119d..96511df4f83c2 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 |