diff --git a/pkgs/development/python-modules/numpy/default.nix b/pkgs/development/python-modules/numpy/default.nix index e571349f9ffb6ef..3d1f9dfa579165c 100644 --- a/pkgs/development/python-modules/numpy/default.nix +++ b/pkgs/development/python-modules/numpy/default.nix @@ -6,6 +6,7 @@ , gfortran , hypothesis , pytestCheckHook +, pytest-xdist , typing-extensions , blas , lapack @@ -94,10 +95,14 @@ in buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook + # Parallelises tests a bit + pytest-xdist hypothesis typing-extensions ]; + # Getting import errors without this. A common issue in Nixpkgs, investigated + # at: https://github.com/NixOS/nixpkgs/issues/255262 preCheck = '' cd "$out" ''; @@ -135,10 +140,6 @@ in buildPythonPackage rec { inherit cfg; }; - # Disable test - # - test_large_file_support: takes a long time and can cause the machine to run out of disk space - NOSE_EXCLUDE="test_large_file_support"; - meta = { description = "Scientific tools for Python"; homepage = "https://numpy.org/";