Unverified Commit 8d5bdaf3 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python312Packages.photutils: 1.13.0 -> 2.0.0 (#348735)

parents 2d61134e 3cb2f6ce
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@

buildPythonPackage rec {
  pname = "photutils";
  version = "1.13.0";
  version = "2.0.0";
  pyproject = true;

  disabled = pythonOlder "3.10";
@@ -32,12 +32,12 @@ buildPythonPackage rec {
    owner = "astropy";
    repo = "photutils";
    rev = "refs/tags/${version}";
    hash = "sha256-J1i1H7AfQdiUIyBpgJK3dkH6C8MoEOwug4YQP+NEPbk=";
    hash = "sha256-slrg1iByOhW1jiSG7nKHWj0ZSOP8v3LhCCr+DLLspKM=";
  };

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

  build-system = [
@@ -55,6 +55,7 @@ buildPythonPackage rec {
  dependencies = [
    astropy
    numpy
    scipy
  ];

  optional-dependencies = {
@@ -65,7 +66,6 @@ buildPythonPackage rec {
      rasterio
      scikit-image
      scikit-learn
      scipy
      shapely
      tqdm
    ];