diff --git a/pkgs/development/python-modules/rio-tiler/default.nix b/pkgs/development/python-modules/rio-tiler/default.nix index 91dc919876ca..eb6672f51bbe 100644 --- a/pkgs/development/python-modules/rio-tiler/default.nix +++ b/pkgs/development/python-modules/rio-tiler/default.nix @@ -4,6 +4,7 @@ fetchFromGitHub, pytestCheckHook, + async-geotiff, attrs, boto3, cachetools, @@ -17,21 +18,23 @@ obstore, pydantic, pystac, + pytest-asyncio, rasterio, rioxarray, + typing-extensions, zarr, }: buildPythonPackage (finalAttrs: { pname = "rio-tiler"; - version = "8.0.5"; + version = "9.0.4"; pyproject = true; src = fetchFromGitHub { owner = "cogeotiff"; repo = "rio-tiler"; tag = finalAttrs.version; - hash = "sha256-FOTwP4iTLfWl81KKarLOQQyp4gpi6Q+pjUXfZrXXsfo="; + hash = "sha256-R8vmb33ZfKGqRLkJ55npL031Gnc7HTUDeWiCvtaLsiM="; }; build-system = [ hatchling ]; @@ -47,6 +50,7 @@ buildPythonPackage (finalAttrs: { pydantic pystac rasterio + typing-extensions ]; optional-dependencies = { @@ -64,11 +68,18 @@ buildPythonPackage (finalAttrs: { ] ++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies); + checkInputs = [ + async-geotiff + pytest-asyncio + ]; + pythonImportsCheck = [ "rio_tiler" ]; disabledTests = [ # Requires network access "test_dataset_reader" + # for some reason, str date representation are not the same + "test_xarray_reader" ]; meta = {