python312Packages.rioxarray: 0.18.2 -> 0.19.0 (#401079)

This commit is contained in:
Gaétan Lepage
2025-04-23 11:55:24 +02:00
committed by GitHub
@@ -1,17 +1,18 @@
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
numpy,
packaging,
pyproj,
rasterio,
xarray,
# tests
dask,
netcdf4,
@@ -21,15 +22,14 @@
buildPythonPackage rec {
pname = "rioxarray";
version = "0.18.2";
version = "0.19.0";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "corteva";
repo = "rioxarray";
tag = version;
hash = "sha256-HNtMLY83e6MQakIlmsJohmhjDWiM5/hqq25qSY1dPBw=";
hash = "sha256-tNcBuMyBVDVPbmujfn4WauquutOEn727lxcR19hfyuE=";
};
build-system = [ setuptools ];
@@ -49,21 +49,22 @@ buildPythonPackage rec {
];
disabledTests =
[ "test_clip_geojson__no_drop" ]
++ lib.optionals
(stdenv.hostPlatform.system == "aarch64-linux" || stdenv.hostPlatform.system == "aarch64-darwin")
[
# numerical errors
"test_clip_geojson"
"test_open_rasterio_mask_chunk_clip"
];
[
# AssertionError: assert 535727386 == 535691205
"test_clip_geojson__no_drop"
]
++ lib.optionals stdenv.hostPlatform.isAarch64 [
# numerical errors
"test_clip_geojson"
"test_open_rasterio_mask_chunk_clip"
];
pythonImportsCheck = [ "rioxarray" ];
meta = {
description = "geospatial xarray extension powered by rasterio";
description = "Geospatial xarray extension powered by rasterio";
homepage = "https://corteva.github.io/rioxarray/";
changelog = "https://github.com/corteva/rioxarray/releases/tag/${src.tag}";
changelog = "https://github.com/corteva/rioxarray/releases/tag/${version}";
license = lib.licenses.asl20;
maintainers = lib.teams.geospatial.members;
};