diff options
Diffstat (limited to 'pkgs/development/python-modules/reproject/default.nix')
-rw-r--r-- | pkgs/development/python-modules/reproject/default.nix | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/pkgs/development/python-modules/reproject/default.nix b/pkgs/development/python-modules/reproject/default.nix index c5ee962365430..7deb0b20614ea 100644 --- a/pkgs/development/python-modules/reproject/default.nix +++ b/pkgs/development/python-modules/reproject/default.nix @@ -1,21 +1,21 @@ -{ lib -, astropy -, astropy-extension-helpers -, astropy-healpix -, buildPythonPackage -, cloudpickle -, cython -, dask -, fetchPypi -, fsspec -, numpy -, oldest-supported-numpy -, pytest-astropy -, pytestCheckHook -, pythonOlder -, scipy -, setuptools-scm -, zarr +{ + lib, + astropy, + astropy-extension-helpers, + astropy-healpix, + buildPythonPackage, + cloudpickle, + cython, + dask, + fetchPypi, + fsspec, + numpy, + pytest-astropy, + pytestCheckHook, + pythonOlder, + scipy, + setuptools-scm, + zarr, }: buildPythonPackage rec { @@ -23,7 +23,7 @@ buildPythonPackage rec { version = "0.13.1"; pyproject = true; - disabled = pythonOlder "3.9"; + disabled = pythonOlder "3.10"; src = fetchPypi { inherit pname version; @@ -32,14 +32,14 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace "cython==" "cython>=" + --replace "cython==" "cython>=" \ + --replace "numpy>=2.0.0rc1" "numpy" ''; nativeBuildInputs = [ astropy-extension-helpers cython numpy - oldest-supported-numpy setuptools-scm ]; @@ -65,11 +65,11 @@ buildPythonPackage rec { "-p no:warnings" # Uses network "--ignore build/lib*/reproject/interpolation/" + # prevent "'filterwarnings' not found in `markers` configuration option" error + "-o 'markers=filterwarnings'" ]; - pythonImportsCheck = [ - "reproject" - ]; + pythonImportsCheck = [ "reproject" ]; meta = with lib; { description = "Reproject astronomical images"; |