Merge pull request #310753 from annaleeleaves/pykdtree-relax-build-numpy

python312Packages.pykdtree: relax build-system numpy; unbreak
This commit is contained in:
Weijia Wang
2024-05-13 23:00:58 +02:00
committed by GitHub
@@ -24,6 +24,11 @@ buildPythonPackage rec {
hash = "sha256-zCCypnxkBWSFoxTSwrbbo1SvfuHI+42uG+byk2o3Q0E=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-warn "numpy>=2.0.0rc1,<3" "numpy"
'';
nativeBuildInputs = [
cython
numpy