Loading pkgs/development/python-modules/pynndescent/default.nix +15 −5 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ pytestCheckHook, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "pynndescent"; version = "0.6.0"; pyproject = true; Loading @@ -25,7 +25,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "lmcinnes"; repo = "pynndescent"; tag = "release-${version}"; tag = "release-${finalAttrs.version}"; hash = "sha256-RfIbPPyx+Y7niuFrLjA02cUDHTSv9s5E4JiXv4ZBNEc="; }; Loading @@ -39,14 +39,24 @@ buildPythonPackage rec { scipy ]; pythonImportsCheck = [ "pynndescent" ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "pynndescent" ]; disabledTests = [ # AssertionError: Arrays are not almost equal to 6 decimals "test_seuclidean" # sklearn.utils._param_validation.InvalidParameterError: The 'metric' parameter of # pairwise_distances must be a str among ... "test_binary_check" "test_sparse_binary_check" ]; meta = { description = "Nearest Neighbor Descent"; homepage = "https://github.com/lmcinnes/pynndescent"; changelog = "https://github.com/lmcinnes/pynndescent/releases/tag/release-${src.tag}"; changelog = "https://github.com/lmcinnes/pynndescent/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ mic92 ]; badPlatforms = [ Loading @@ -55,4 +65,4 @@ buildPythonPackage rec { "aarch64-linux" ]; }; } }) Loading
pkgs/development/python-modules/pynndescent/default.nix +15 −5 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ pytestCheckHook, }: buildPythonPackage rec { buildPythonPackage (finalAttrs: { pname = "pynndescent"; version = "0.6.0"; pyproject = true; Loading @@ -25,7 +25,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "lmcinnes"; repo = "pynndescent"; tag = "release-${version}"; tag = "release-${finalAttrs.version}"; hash = "sha256-RfIbPPyx+Y7niuFrLjA02cUDHTSv9s5E4JiXv4ZBNEc="; }; Loading @@ -39,14 +39,24 @@ buildPythonPackage rec { scipy ]; pythonImportsCheck = [ "pynndescent" ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "pynndescent" ]; disabledTests = [ # AssertionError: Arrays are not almost equal to 6 decimals "test_seuclidean" # sklearn.utils._param_validation.InvalidParameterError: The 'metric' parameter of # pairwise_distances must be a str among ... "test_binary_check" "test_sparse_binary_check" ]; meta = { description = "Nearest Neighbor Descent"; homepage = "https://github.com/lmcinnes/pynndescent"; changelog = "https://github.com/lmcinnes/pynndescent/releases/tag/release-${src.tag}"; changelog = "https://github.com/lmcinnes/pynndescent/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ mic92 ]; badPlatforms = [ Loading @@ -55,4 +65,4 @@ buildPythonPackage rec { "aarch64-linux" ]; }; } })