python311Packages.qutip: relax numpy build-time constraint, unbreak

This commit is contained in:
Peder Bergebakken Sundt 2024-11-08 22:01:14 +01:00
parent 8e8f317319
commit c3afba78f2

View File

@ -32,6 +32,12 @@ buildPythonPackage rec {
hash = "sha256-KT5Mk0w6EKTUZzGRnQ6XQPZfH5ZXVuiD+EwSflNqHNo=";
};
postPatch = ''
# build-time constriant, used to ensure forward and backward compat
substituteInPlace pyproject.toml setup.cfg \
--replace-fail "numpy>=2.0.0" "numpy"
'';
nativeBuildInputs = [
cython_0
setuptools