diff --git a/pkgs/development/python-modules/pybind11/default.nix b/pkgs/development/python-modules/pybind11/default.nix index 2318967012e2..2208cca708dc 100644 --- a/pkgs/development/python-modules/pybind11/default.nix +++ b/pkgs/development/python-modules/pybind11/default.nix @@ -58,7 +58,6 @@ buildPythonPackage rec { catch numpy pytest - scipy ]; checkPhase = '' diff --git a/pkgs/development/python-modules/scipy/default.nix b/pkgs/development/python-modules/scipy/default.nix index da615865d28b..19fa8e507281 100644 --- a/pkgs/development/python-modules/scipy/default.nix +++ b/pkgs/development/python-modules/scipy/default.nix @@ -1,13 +1,6 @@ {lib, fetchPypi, python, buildPythonPackage, gfortran, nose, pytest, pytest-xdist, numpy, pybind11 }: -let - pybind = pybind11.overridePythonAttrs (oldAttrs: { - cmakeFlags = oldAttrs.cmakeFlags ++ [ - "-DBUILD_TESTING=off" - ]; - doCheck = false; # Circular test dependency - }); -in buildPythonPackage rec { +buildPythonPackage rec { pname = "scipy"; version = "1.6.3"; @@ -18,7 +11,7 @@ in buildPythonPackage rec { checkInputs = [ nose pytest pytest-xdist ]; nativeBuildInputs = [ gfortran ]; - buildInputs = [ numpy.blas pybind ]; + buildInputs = [ numpy.blas pybind11 ]; propagatedBuildInputs = [ numpy ]; # Remove tests because of broken wrapper