python3Packages.numba: relax numpy version bounds

This commit is contained in:
Jonathan Ringer 2022-03-07 11:54:10 -08:00 committed by Martin Weinelt
parent 16fb34b717
commit 8fbc6dca17

View File

@ -22,11 +22,12 @@ buildPythonPackage rec {
};
postPatch = ''
# numpy
substituteInPlace setup.py \
--replace "1.21" "1.22"
--replace "1.22" "2"
substituteInPlace numba/__init__.py \
--replace "(1, 20)" "(1, 21)"
--replace "(1, 21)" "(2, 0)"
'';
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1";