python3Packages.odc-stac: 0.3.11 -> 0.4.0rc2 (#396325)
This commit is contained in:
@@ -4,13 +4,14 @@
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
affine,
|
||||
dask,
|
||||
numpy,
|
||||
odc-geo,
|
||||
odc-loader,
|
||||
pandas,
|
||||
pystac,
|
||||
rasterio,
|
||||
@@ -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 = [
|
||||
@@ -57,6 +49,7 @@ buildPythonPackage rec {
|
||||
dask
|
||||
numpy
|
||||
odc-geo
|
||||
odc-loader
|
||||
pandas
|
||||
pystac
|
||||
rasterio
|
||||
@@ -85,9 +78,6 @@ buildPythonPackage rec {
|
||||
# urllib url open error
|
||||
"test_norm_geom"
|
||||
"test_output_geobox"
|
||||
"test_mem_reader"
|
||||
"test_memreader_zarr"
|
||||
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
||||
Reference in New Issue
Block a user