pythonPackages.pybind11: don't run scipy tests

Two tests out of 439 are not worth working around the cyclic dependency.
This commit is contained in:
Robert Schütz 2021-06-21 17:54:13 +02:00 committed by Martin Weinelt
parent 6553947785
commit c7e1ded6c5
2 changed files with 2 additions and 10 deletions

View file

@ -58,7 +58,6 @@ buildPythonPackage rec {
catch
numpy
pytest
scipy
];
checkPhase = ''

View file

@ -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