python3Packages.numpy: use pytest_5
This commit is contained in:
parent
0b58b6ed8e
commit
ff4c38abd9
|
@ -4,7 +4,7 @@
|
|||
, buildPythonPackage
|
||||
, gfortran
|
||||
, hypothesis
|
||||
, pytest
|
||||
, pytest_5
|
||||
, blas
|
||||
, lapack
|
||||
, writeTextFile
|
||||
|
@ -48,7 +48,7 @@ in buildPythonPackage rec {
|
|||
sha256 = "141ec3a3300ab89c7f2b0775289954d193cc8edb621ea05f99db9cb181530512";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gfortran pytest cython setuptoolsBuildHook ];
|
||||
nativeBuildInputs = [ gfortran cython setuptoolsBuildHook ];
|
||||
buildInputs = [ blas lapack ];
|
||||
|
||||
patches = lib.optionals python.hasDistutilsCxxPatch [
|
||||
|
@ -75,7 +75,10 @@ in buildPythonPackage rec {
|
|||
|
||||
doCheck = !isPyPy; # numpy 1.16+ hits a bug in pypy's ctypes, using either numpy or pypy HEAD fixes this (https://github.com/numpy/numpy/issues/13807)
|
||||
|
||||
checkInputs = [ hypothesis ];
|
||||
checkInputs = [
|
||||
pytest_5 # pytest 6 will error: "module is already imported: hypothesis"
|
||||
hypothesis
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
|
Loading…
Reference in New Issue