Commit c3afba78 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

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

parent 8e8f3173
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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