Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 703d2fe

Browse filesBrowse files
committed
python3Packages.numpy: add hypothesis to checkInputs
numpy has added hypothesis as a dependency for running property-based tests: numpy/numpy#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.
1 parent e4eb966 commit 703d2fe
Copy full SHA for 703d2fe

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎pkgs/development/python-modules/numpy/default.nix

Copy file name to clipboardExpand all lines: pkgs/development/python-modules/numpy/default.nix
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
, python
44
, buildPythonPackage
55
, gfortran
6+
, hypothesis
67
, pytest
78
, blas
89
, lapack
@@ -67,6 +68,8 @@ in buildPythonPackage rec {
6768

6869
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)
6970

71+
checkInputs = [ hypothesis ];
72+
7073
checkPhase = ''
7174
runHook preCheck
7275
pushd dist

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.