From b28f7c5303a1ccb8a0d73b91df415b6d86c8eb9d Mon Sep 17 00:00:00 2001 From: Connor Baker Date: Sat, 25 May 2024 01:40:05 +0000 Subject: [PATCH] python3Packages.apricot-select: move scikit-learn and torchvision to dependencies These are needed when building the package, not just during the checkPhase. This can be observed by setting doCheck to false. --- pkgs/development/python-modules/apricot-select/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/apricot-select/default.nix b/pkgs/development/python-modules/apricot-select/default.nix index b50707e96e6f..20d47913d19b 100644 --- a/pkgs/development/python-modules/apricot-select/default.nix +++ b/pkgs/development/python-modules/apricot-select/default.nix @@ -37,15 +37,15 @@ buildPythonPackage rec { dependencies = [ numba numpy + scikit-learn scipy + torchvision tqdm ]; nativeCheckInputs = [ pynose pytestCheckHook - scikit-learn - torchvision ]; pythonImportsCheck = [ "apricot" ];