Unverified Commit 4259684e authored by annalee's avatar annalee
Browse files

python311Packages.astropy-healpix: relax numpy deps

numpy>=2.0.0rc1 required for build-system. unfortunately,
pythonRelaxDepsHook doesn't seem to prevent the check from failing so
remove version manually from pyproject.toml
parent c26eaa26
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -23,8 +23,13 @@ buildPythonPackage rec {
    hash = "sha256-3l0qfsl7FnBFBmlx8loVDR5AYfBxWb4jZJY02zbnl0Y=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml --replace "numpy>=2.0.0rc1" "numpy"
  '';

  nativeBuildInputs = [
    astropy-extension-helpers
    numpy
    setuptools
    setuptools-scm
  ];