Your message dated Thu, 27 Aug 2026 18:20:17 +0000
with message-id <[email protected]>
and subject line Bug#1145452: fixed in kerchunk 0.2.10-2
has caused the Debian Bug report #1145452,
regarding kerchunk: FTBFS: E ValueError: Chunk size must be
positive, got 0
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1145452: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145452
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:kerchunk
Version: 0.2.10-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:kerchunk, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <AsyncGroup <FsspecStore(ReferenceFileSystem, /)>>, key = 'FP_line'
async def getitem(
self,
key: str,
) -> AnyAsyncArray | AsyncGroup:
"""
Get a subarray or subgroup from the group.
Parameters
----------
key : str
Array or group name
Returns
-------
AsyncArray or AsyncGroup
"""
store_path = self.store_path / key
logger.debug("key=%s, store_path=%s", key, store_path)
# Consolidated metadata lets us avoid some I/O operations so try that
first.
if self.metadata.consolidated_metadata is not None:
return self._getitem_consolidated(store_path, key, prefix=self.name)
try:
return await get_node(
store=store_path.store, path=store_path.path,
zarr_format=self.metadata.zarr_format
)
except FileNotFoundError as e:
> raise KeyError(key) from e
E KeyError: 'FP_line'
/usr/lib/python3/dist-packages/zarr/core/group.py:737: KeyError
During handling of the above exception, another exception occurred:
def test1():
here = os.path.dirname(__file__)
fn = os.path.join(here, "MOD14.hdf4")
> out = kerchunk.hdf4.HDF4ToZarr(fn).translate()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../tests/test_hdf4.py:13:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
kerchunk/hdf4.py:149: in translate
arr = g.require_array(
/usr/lib/python3/dist-packages/zarr/core/group.py:2823: in require_array
return Array(self._sync(self._async_group.require_array(name, shape=shape,
**kwargs)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/zarr/core/sync.py:199: in _sync
return sync(
/usr/lib/python3/dist-packages/zarr/core/sync.py:154: in sync
raise return_result
/usr/lib/python3/dist-packages/zarr/core/sync.py:114: in _runner
return await coro
^^^^^^^^^^
/usr/lib/python3/dist-packages/zarr/core/group.py:1268: in require_array
ds = await self.create_array(name, shape=shape, dtype=dtype, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/zarr/core/group.py:1199: in create_array
return await create_array(
/usr/lib/python3/dist-packages/zarr/core/array.py:4743: in create_array
return await init_array(
/usr/lib/python3/dist-packages/zarr/core/array.py:4476: in init_array
chunks_normalized = normalize_chunks_nd(chunks, shape_parsed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/zarr/core/chunk_grids.py:800: in
normalize_chunks_nd
tuple(normalize_chunks_1d(c, span=s) for c, s in zip(chunks, shape,
strict=True))
^^^^^
/usr/lib/python3/dist-packages/zarr/core/chunk_grids.py:800: in <genexpr>
tuple(normalize_chunks_1d(c, span=s) for c, s in zip(chunks, shape,
strict=True))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
chunks = 0, span = 0
def normalize_chunks_1d(
chunks: int | Iterable[object], span: int
) -> np.ndarray[tuple[int], np.dtype[np.int64]]:
"""
Normalize a one-dimensional chunk specification into a 1D int64 array of
chunk sizes that cover the span.
`-1` means "one chunk covering the entire span."
For an integer chunk size, all chunks are uniform â the last chunk may
overhang the span. The actual data extent of each chunk is determined
by the chunk grid at runtime, not by this function.
"""
if chunks == -1:
return np.array([span], dtype=np.int64)
if isinstance(chunks, int):
if chunks <= 0:
> raise ValueError(f"Chunk size must be positive, got {chunks}")
E ValueError: Chunk size must be positive, got 0
/usr/lib/python3/dist-packages/zarr/core/chunk_grids.py:736: ValueError
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1464
/usr/lib/python3/dist-packages/_pytest/config/__init__.py:1464:
PytestConfigWarning: Unknown config option: asyncio_default_fixture_loop_scope
self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
../../../tests/test_fits.py:18
/<<PKGBUILDDIR>>/tests/test_fits.py:18: PytestUnknownMarkWarning: Unknown
pytest.mark.remotedata - is this a typo? You can register custom marks to
avoid this warning - for details, see
https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.remotedata
../../../tests/test_fits.py:43
/<<PKGBUILDDIR>>/tests/test_fits.py:43: PytestUnknownMarkWarning: Unknown
pytest.mark.remotedata - is this a typo? You can register custom marks to
avoid this warning - for details, see
https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.remotedata
../../../tests/test_grib.py:57
/<<PKGBUILDDIR>>/tests/test_grib.py:57: PytestUnknownMarkWarning: Unknown
pytest.mark.remotedata - is this a typo? You can register custom marks to
avoid this warning - for details, see
https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.remotedata
../../../tests/test_grib.py:287
/<<PKGBUILDDIR>>/tests/test_grib.py:287: PytestUnknownMarkWarning: Unknown
pytest.mark.remotedata - is this a typo? You can register custom marks to
avoid this warning - for details, see
https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.remotedata
../../../tests/test_grib.py:305
/<<PKGBUILDDIR>>/tests/test_grib.py:305: PytestUnknownMarkWarning: Unknown
pytest.mark.remotedata - is this a typo? You can register custom marks to
avoid this warning - for details, see
https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.remotedata
../../../../../../usr/lib/python3/dist-packages/h5py/_debian_h5py_serial/__init__.py:36
/usr/lib/python3/dist-packages/h5py/_debian_h5py_serial/__init__.py:36:
UserWarning: h5py is running against HDF5 2.2.0 when it was built against
2.1.0, this may cause problems
_warn(("h5py is running against HDF5 {0} when it was built against {1}, "
../../../tests/test_hdf.py:24
/<<PKGBUILDDIR>>/tests/test_hdf.py:24: PytestUnknownMarkWarning: Unknown
pytest.mark.remotedata - is this a typo? You can register custom marks to
avoid this warning - for details, see
https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.remotedata
../../../tests/test_hdf.py:45
/<<PKGBUILDDIR>>/tests/test_hdf.py:45: PytestUnknownMarkWarning: Unknown
pytest.mark.remotedata - is this a typo? You can register custom marks to
avoid this warning - for details, see
https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.remotedata
../../../tests/test_hdf.py:87
/<<PKGBUILDDIR>>/tests/test_hdf.py:87: PytestUnknownMarkWarning: Unknown
pytest.mark.remotedata - is this a typo? You can register custom marks to
avoid this warning - for details, see
https://docs.pytest.org/en/stable/how-to/mark.html
@pytest.mark.remotedata
tests/test_combine.py::test_fixture
/<<PKGBUILDDIR>>/tests/test_combine.py:251: ZarrUserWarning: fs
(<fsspec.implementations.reference.ReferenceFileSystem object at
0x7f5803158cd0>) was not created with `asynchronous=True`, this may lead to
surprising behavior
store = zarr.storage.FsspecStore(fs)
tests/test_combine.py::test_fixture
/usr/lib/python3/dist-packages/zarr/storage/_fsspec.py:258: ZarrUserWarning:
fs (<fsspec.implementations.reference.ReferenceFileSystem object at
0x7f5803158cd0>) was not created with `asynchronous=True`, this may lead to
surprising behavior
return type(self)(
tests/test_combine.py::test_chunk_error
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_kerchunk/build/kerchunk/combine.py:403:
UserWarning: Concatenated coordinate 'time' contains less than expectednumber
of values across the datasets: [1]
warnings.warn(
tests/test_grib.py::test_grib_tree
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_kerchunk/build/kerchunk/combine.py:403:
UserWarning: Concatenated coordinate 'time' contains less than expectednumber
of values across the datasets: [1665709200]
warnings.warn(
tests/test_grib.py::test_grib_tree
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_kerchunk/build/kerchunk/combine.py:403:
UserWarning: Concatenated coordinate 'step' contains less than expectednumber
of values across the datasets: [0.25]
warnings.warn(
tests/test_grib.py::test_hrrr_subhf_corrected_grib_tree
tests/test_grib.py::test_hrrr_sfcf_grib_tree
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_kerchunk/build/kerchunk/combine.py:403:
UserWarning: Concatenated coordinate 'time' contains less than expectednumber
of values across the datasets: [1695862800]
warnings.warn(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED ../../../tests/test_hdf4.py::test1 - ValueError: Chunk size must be po...
===== 1 failed, 81 passed, 7 skipped, 22 deselected, 17 warnings in 6.16s ======
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_kerchunk/build; python3.14 -m pytest -v
-m "not remotedata" -k "not test_single_append_parquet and not
test_zarr_combine and not test_string_null and not test_string_decode and not
test_compound_string_null and not test_compound_string_encode and not test_var
and not test_malicious_chunks" /<<PKGBUILDDIR>>/tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13
3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:24: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: kerchunk
Source-Version: 0.2.10-2
Done: Antonio Valentino <[email protected]>
We believe that the bug you reported is fixed in the latest version of
kerchunk, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Antonio Valentino <[email protected]> (supplier of updated kerchunk
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 27 Aug 2026 17:06:02 +0000
Source: kerchunk
Architecture: source
Version: 0.2.10-2
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <[email protected]>
Changed-By: Antonio Valentino <[email protected]>
Closes: 1145452
Changes:
kerchunk (0.2.10-2) unstable; urgency=medium
.
* debian/patches:
- New 0003-zarr-v3.3.x-compat.patch (Closes: #1145452).
* Add d/python3-kerchunk.lintian-overrides.
Checksums-Sha1:
d8eb4f4030843c896ffbfaa7a1712b3d23ce81ba 4603 kerchunk_0.2.10-2.dsc
8383556922856eaf4f70d287f725cebb61afcda6 8356 kerchunk_0.2.10-2.debian.tar.xz
27a01fc0d3cbe7f383f8bdcabb58f9b4b96a6353 14437
kerchunk_0.2.10-2_amd64.buildinfo
Checksums-Sha256:
7d42c459737a0e8276055bf265adc098c69b01f3b5d0468e2ea113f0f7a96d6a 4603
kerchunk_0.2.10-2.dsc
fd67dce224522f6978d5a80baa90611b97dcd8d3e6441e8dd79c2b31c699a10f 8356
kerchunk_0.2.10-2.debian.tar.xz
2f33e14bc0c5076de9b7e6118f29d4296ffa1f0c906431b3ee7e15fde7bcb87a 14437
kerchunk_0.2.10-2_amd64.buildinfo
Files:
61ad722af6d874c4c72c342afc6aabbf 4603 python optional kerchunk_0.2.10-2.dsc
34c1da9c7c3e39002c829896677a3b26 8356 python optional
kerchunk_0.2.10-2.debian.tar.xz
85c8df6d75a166465a3b43a7e3873d59 14437 python optional
kerchunk_0.2.10-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJRBAEBCgA7FiEEO3DyCaX/1okDxHLF6/SKslePmBIFAmqQerMdHGFudG9uaW8u
dmFsZW50aW5vQHRpc2NhbGkuaXQACgkQ6/SKslePmBLgOg/8D1UP0Q8vyC0UEDKG
6p5Ord4er7BW2IX1hIiYgvQJTr2sQdn/RzoM++PV/FB24NVOtQdFu0q+wfaDxOCD
Nln7/uU6aUlhqjH/0mF5UafNEBeiFvmVXBJnqTMMMyesSKcyVr097dqKQSe64s0F
YBhkMnGPVlhIHMd7WSUkoLbTWoYsKEwbSLhx4IlI+Y29sdaCTCuBUg8VXyQ3HklR
SHB4/nsFnS3WZQYLMXmDnhphZHUgDcVEg12lpIM9//MXjU/9N3oh0ZWWvw/SDuXp
dfB2ikVBM2xuuBURQfefguH2ugas0KHatT+72ED4vdBjdY8DeNGBgm6ZhNQID0X0
IPzBozfhbWsM/hdP3OwZYkoIWZ5mac9WaBZV/a5PQotxcsxZYnwz7zJ2YU95QSAl
K4KvC5nqCdwdy0WxwzoeH6Wsa2pPuOq03Jp5BCJLESQY+c8iirpCW3htayT7SREc
7JsLzR6L28JZaqcdVwtXt6sdiTsbvhajByWlyfkX4+EIWKcLVcQ8sDyX+wbdevPt
PR2+tHqM4qQwCoiGjRxuhmalTR1oGCBi6di/6I3B0GgkKXz7nmuhi/s2d6dzZTwF
WF8WHmGdeQV3Wa+zEXLixGlceJ4id8R7wAW4Twmyw73TTidfa0lpxViaI+0VoLjA
mPfNplLHyu1qGKRlW7njipDNy18=
=PKRn
-----END PGP SIGNATURE-----
pgpuBO9FYtvhe.pgp
Description: PGP signature
--- End Message ---