@@ -1,4 +1,4 @@
1−{ lib, fetchPypi, python, buildPythonPackage, gfortran, pytest, blas, writeTextFile }:
1+{ lib, fetchPypi, python, buildPythonPackage, gfortran, pytest, blas, writeTextFile, isPyPy }:
22
33let
44 blasImplementation = lib.nameFromURL blas.name "-";
@@ -45,6 +45,8 @@ in buildPythonPackage rec {
4545
4646 enableParallelBuilding = true;
4747
48+ 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)
49+
4850 checkPhase = ''
4951 runHook preCheck
5052 pushd dist