pythonPackages.scipy: 1.3.3 -> 1.4.1
This commit is contained in:
parent
9b0b85345c
commit
9099c7e456
@ -1,17 +1,24 @@
|
|||||||
{lib, fetchPypi, python, buildPythonPackage, gfortran, nose, pytest, numpy}:
|
{lib, fetchPypi, python, buildPythonPackage, gfortran, nose, pytest, numpy, pybind11}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
let
|
||||||
|
pybind = pybind11.overridePythonAttrs(oldAttrs: {
|
||||||
|
cmakeFlags = oldAttrs.cmakeFlags ++ [
|
||||||
|
"-DPYBIND11_TEST=off"
|
||||||
|
];
|
||||||
|
doCheck = false; # Circular test dependency
|
||||||
|
});
|
||||||
|
in buildPythonPackage rec {
|
||||||
pname = "scipy";
|
pname = "scipy";
|
||||||
version = "1.3.3";
|
version = "1.4.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "64bf4e8ae0db2d42b58477817f648d81e77f0b381d0ea4427385bba3f959380a";
|
sha256 = "dee1bbf3a6c8f73b6b218cb28eed8dd13347ea2f87d572ce19b289d6fd3fbc59";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ nose pytest ];
|
checkInputs = [ nose pytest ];
|
||||||
nativeBuildInputs = [ gfortran ];
|
nativeBuildInputs = [ gfortran ];
|
||||||
buildInputs = [ numpy.blas ];
|
buildInputs = [ numpy.blas pybind ];
|
||||||
propagatedBuildInputs = [ numpy ];
|
propagatedBuildInputs = [ numpy ];
|
||||||
|
|
||||||
# Remove tests because of broken wrapper
|
# Remove tests because of broken wrapper
|
||||||
@ -19,9 +26,7 @@ buildPythonPackage rec {
|
|||||||
rm scipy/linalg/tests/test_lapack.py
|
rm scipy/linalg/tests/test_lapack.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# INTERNALERROR, solved with https://github.com/scipy/scipy/pull/8871
|
doCheck = true;
|
||||||
# however, it does not apply cleanly.
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -i '0,/from numpy.distutils.core/s//import setuptools;from numpy.distutils.core/' setup.py
|
sed -i '0,/from numpy.distutils.core/s//import setuptools;from numpy.distutils.core/' setup.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user