summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rioxarray/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/rioxarray/default.nix')
-rw-r--r--pkgs/development/python-modules/rioxarray/default.nix29
1 files changed, 15 insertions, 14 deletions
diff --git a/pkgs/development/python-modules/rioxarray/default.nix b/pkgs/development/python-modules/rioxarray/default.nix
index 483598a8d7f6..834f206d002e 100644
--- a/pkgs/development/python-modules/rioxarray/default.nix
+++ b/pkgs/development/python-modules/rioxarray/default.nix
@@ -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;
};