python312Packages.tskit: relax numpy build-time constraint, unbreak (#354512)
This commit is contained in:
commit
cb9613de4c
@ -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
|
||||
|
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user