python312Packages.msprime: relax numpy build-time constraint, unbreak

This commit is contained in:
Peder Bergebakken Sundt
2024-11-08 21:23:14 +01:00
parent 84b68b839a
commit b8e62002b5
@@ -28,6 +28,12 @@ buildPythonPackage rec {
hash = "sha256-2K55gHYWf2Mrj9fszVCJ+qqEyQNMppQi+IZCX5SlsBs=";
};
postPatch = ''
# build-time constriant, used to ensure forward and backward compat
substituteInPlace pyproject.toml \
--replace-fail "numpy>=2" "numpy"
'';
nativeBuildInputs = [
gsl
oldest-supported-numpy