Commit 157eb0e4 authored by Doron Behar's avatar Doron Behar
Browse files

python312Packages.freud: fix numpy version check

parent e691f848
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -39,6 +39,13 @@ buildPythonPackage rec {
    touch extern/{voro++,fsph,Eigen}/.git
  '';

  # Scipy still depends on numpy 1, and so we'd get 'package duplicates in
  # closure' error if we'd use numpy_2
  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail 'numpy>=2.0.0rc1' 'numpy' \
  '';

  nativeBuildInputs = [
    cmake
    cython