numpy: enable on pypy (without tests)
Some tests fail according to PyPy docs: http://doc.pypy.org/en/latest/faq.html#should-i-install-numpy-or-numpypy
This commit is contained in:
parent
b9ea613f43
commit
f38fbf853f
@ -1,4 +1,4 @@
|
|||||||
{ lib, fetchPypi, python, buildPythonPackage, gfortran, pytest, blas, writeTextFile }:
|
{ lib, fetchPypi, python, buildPythonPackage, gfortran, pytest, blas, writeTextFile, isPyPy }:
|
||||||
|
|
||||||
let
|
let
|
||||||
blasImplementation = lib.nameFromURL blas.name "-";
|
blasImplementation = lib.nameFromURL blas.name "-";
|
||||||
@ -45,6 +45,8 @@ in buildPythonPackage rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
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)
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
pushd dist
|
pushd dist
|
||||||
|
Loading…
Reference in New Issue
Block a user