From 84b68b839ac30ae7129ac0e750cea1fd3a7263dd Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 8 Nov 2024 15:59:35 +0100 Subject: [PATCH] python312Packages.tskit: relax numpy build-time constraint, unbreak --- pkgs/development/python-modules/tskit/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/tskit/default.nix b/pkgs/development/python-modules/tskit/default.nix index 775284b8990b..e91fba90dc77 100644 --- a/pkgs/development/python-modules/tskit/default.nix +++ b/pkgs/development/python-modules/tskit/default.nix @@ -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 = [