Skip to content

Commit da27f90

Browse files
authored
python3Packages.odc-stac: 0.3.11 -> 0.4.0rc2 (#396325)
2 parents 27b10ae + d4be658 commit da27f90

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

pkgs/development/python-modules/odc-stac/default.nix

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
fetchFromGitHub,
55

66
# build-system
7-
setuptools,
7+
hatchling,
88

99
# dependencies
1010
affine,
1111
dask,
1212
numpy,
1313
odc-geo,
14+
odc-loader,
1415
pandas,
1516
pystac,
1617
rasterio,
@@ -29,34 +30,26 @@
2930

3031
buildPythonPackage rec {
3132
pname = "odc-stac";
32-
version = "0.3.11";
33+
version = "0.4.0rc2";
3334
pyproject = true;
3435

3536
src = fetchFromGitHub {
3637
owner = "opendatacube";
3738
repo = "odc-stac";
3839
tag = "v${version}";
39-
hash = "sha256-uudBzxVGt3RW4ppDrFYfA9LMa2xPfs3FTBzVS19FjB4=";
40+
hash = "sha256-I25qAJEryYaYO7KIVIoTlgzLS6PWkNG6b4NFyhghyKQ=";
4041
};
4142

42-
# ImportError: cannot import name 'quote' from 'dask.base'
43-
# https://github.com/dask/dask/issues/11843
44-
postPatch = ''
45-
substituteInPlace odc/loader/_builder.py \
46-
--replace-fail \
47-
"from dask.base import quote, tokenize" \
48-
"from dask.base import tokenize; from dask.core import quote"
49-
'';
50-
5143
build-system = [
52-
setuptools
44+
hatchling
5345
];
5446

5547
dependencies = [
5648
affine
5749
dask
5850
numpy
5951
odc-geo
52+
odc-loader
6053
pandas
6154
pystac
6255
rasterio
@@ -85,9 +78,6 @@ buildPythonPackage rec {
8578
# urllib url open error
8679
"test_norm_geom"
8780
"test_output_geobox"
88-
"test_mem_reader"
89-
"test_memreader_zarr"
90-
9181
];
9282

9383
pythonImportsCheck = [

0 commit comments

Comments
 (0)