python312Packages.photutils: 1.13.0 -> 2.0.0

Changelog: https://github.com/astropy/photutils/blob/2.0.0/CHANGES.rst
This commit is contained in:
Fabian Affolter 2024-10-15 10:54:16 +02:00
parent e032e7ed26
commit 3cb2f6ce77

View File

@ -23,7 +23,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "photutils"; pname = "photutils";
version = "1.13.0"; version = "2.0.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.10"; disabled = pythonOlder "3.10";
@ -32,12 +32,12 @@ buildPythonPackage rec {
owner = "astropy"; owner = "astropy";
repo = "photutils"; repo = "photutils";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-J1i1H7AfQdiUIyBpgJK3dkH6C8MoEOwug4YQP+NEPbk="; hash = "sha256-slrg1iByOhW1jiSG7nKHWj0ZSOP8v3LhCCr+DLLspKM=";
}; };
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace-fail "'numpy>=2.0.0rc1'," "" --replace-fail "'numpy>=2.0.0'," ""
''; '';
build-system = [ build-system = [
@ -55,6 +55,7 @@ buildPythonPackage rec {
dependencies = [ dependencies = [
astropy astropy
numpy numpy
scipy
]; ];
optional-dependencies = { optional-dependencies = {
@ -65,7 +66,6 @@ buildPythonPackage rec {
rasterio rasterio
scikit-image scikit-image
scikit-learn scikit-learn
scipy
shapely shapely
tqdm tqdm
]; ];