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

This commit is contained in:
Fabian Affolter 2024-10-15 17:19:41 +02:00 committed by GitHub
commit 8d5bdaf3a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
];