Loading pkgs/development/python-modules/odc-stac/default.nix +6 −16 Original line number Diff line number Diff line Loading @@ -4,13 +4,14 @@ fetchFromGitHub, # build-system setuptools, hatchling, # dependencies affine, dask, numpy, odc-geo, odc-loader, pandas, pystac, rasterio, Loading @@ -29,27 +30,18 @@ buildPythonPackage rec { pname = "odc-stac"; version = "0.3.11"; version = "0.4.0rc2"; pyproject = true; src = fetchFromGitHub { owner = "opendatacube"; repo = "odc-stac"; tag = "v${version}"; hash = "sha256-uudBzxVGt3RW4ppDrFYfA9LMa2xPfs3FTBzVS19FjB4="; hash = "sha256-I25qAJEryYaYO7KIVIoTlgzLS6PWkNG6b4NFyhghyKQ="; }; # ImportError: cannot import name 'quote' from 'dask.base' # https://github.com/dask/dask/issues/11843 postPatch = '' substituteInPlace odc/loader/_builder.py \ --replace-fail \ "from dask.base import quote, tokenize" \ "from dask.base import tokenize; from dask.core import quote" ''; build-system = [ setuptools hatchling ]; dependencies = [ Loading @@ -57,6 +49,7 @@ buildPythonPackage rec { dask numpy odc-geo odc-loader pandas pystac rasterio Loading Loading @@ -85,9 +78,6 @@ buildPythonPackage rec { # urllib url open error "test_norm_geom" "test_output_geobox" "test_mem_reader" "test_memreader_zarr" ]; pythonImportsCheck = [ Loading Loading
pkgs/development/python-modules/odc-stac/default.nix +6 −16 Original line number Diff line number Diff line Loading @@ -4,13 +4,14 @@ fetchFromGitHub, # build-system setuptools, hatchling, # dependencies affine, dask, numpy, odc-geo, odc-loader, pandas, pystac, rasterio, Loading @@ -29,27 +30,18 @@ buildPythonPackage rec { pname = "odc-stac"; version = "0.3.11"; version = "0.4.0rc2"; pyproject = true; src = fetchFromGitHub { owner = "opendatacube"; repo = "odc-stac"; tag = "v${version}"; hash = "sha256-uudBzxVGt3RW4ppDrFYfA9LMa2xPfs3FTBzVS19FjB4="; hash = "sha256-I25qAJEryYaYO7KIVIoTlgzLS6PWkNG6b4NFyhghyKQ="; }; # ImportError: cannot import name 'quote' from 'dask.base' # https://github.com/dask/dask/issues/11843 postPatch = '' substituteInPlace odc/loader/_builder.py \ --replace-fail \ "from dask.base import quote, tokenize" \ "from dask.base import tokenize; from dask.core import quote" ''; build-system = [ setuptools hatchling ]; dependencies = [ Loading @@ -57,6 +49,7 @@ buildPythonPackage rec { dask numpy odc-geo odc-loader pandas pystac rasterio Loading Loading @@ -85,9 +78,6 @@ buildPythonPackage rec { # urllib url open error "test_norm_geom" "test_output_geobox" "test_mem_reader" "test_memreader_zarr" ]; pythonImportsCheck = [ Loading