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

This commit is contained in:
Peder Bergebakken Sundt
2024-11-08 15:59:35 +01:00
parent 4eb5e32fd8
commit 84b68b839a
@@ -21,6 +21,12 @@ buildPythonPackage rec {
hash = "sha256-Wq7ar96w5hdAyKMMvK4zjYln74RmX1l/VhvS++CN+Xk=";
};
postPatch = ''
# build-time constriant, used to ensure forward and backward compat
substituteInPlace pyproject.toml \
--replace-fail "numpy>=2.0" "numpy"
'';
build-system = [ setuptools ];
dependencies = [