python3Packages.numpy: add hypothesis to checkInputs
numpy has added hypothesis as a dependency for running property-based tests: https://github.com/numpy/numpy/pull/15189 However, hypothesis is not an input of the derivations. And thus tests have been failing with: ERROR .. - ModuleNotFoundError: No module named 'hypothesis' https://hydra.nixos.org/build/124613306/nixlog/1 This change adds hypothesis to checkInputs, so that tests are run again.
This commit is contained in:
parent
1a3c5b2203
commit
22089bf50a
@ -3,6 +3,7 @@
|
|||||||
, python
|
, python
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, gfortran
|
, gfortran
|
||||||
|
, hypothesis
|
||||||
, pytest
|
, pytest
|
||||||
, blas
|
, blas
|
||||||
, lapack
|
, lapack
|
||||||
@ -67,6 +68,8 @@ 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)
|
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 ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
pushd dist
|
pushd dist
|
||||||
|
Loading…
x
Reference in New Issue
Block a user