Dear Diane

Il 28/06/26 08:01, Diane Trout ha scritto:



Thank you!


My work on dask v2026.3 is still stuck.

I went and looked at the current dask 2024 first and havent looked at
the new one yet.



Meanwhile I pushed in
https://salsa.debian.org/python-team/packages/dask
(I hope that this is not an issue) a patch for dask2024.12.1 that
should
fix a long list of bugs (#1131056, #1131082, #1131087, #1136870,
#1139201, #1139202, #1139203) that impact flox, trollimage,
python-polsarpro and satpy.

Unfortunately the dask autopkgtest and uscan tests fail on salsa.
The issue seems to be unrelated but, also in this case, I still
didn't
have the time to investigate too much.


I fixed several problems that were causing pytest to fail before it had
collected all the tests.

Now for me autopkgtest has 4-7 remaining test failures to deal with.

I pushed those fixes to salsa and will check to see if they helped
salsa's builder tomorrow

I did also try getting the tests to run during the build, which does
seem to work, though I haven't committed and pushed those changes yet.

Diane

Please find attached another patch so fix compatibility with zarr >= v3.2 (it is also on may fork https://salsa.debian.org/antonio.valentino/dask).

Now there are only 4 test failing.

kind regards
--
Antonio Valentino
From: Antonio Valentino <[email protected]>
Date: Sun, 28 Jun 2026 09:00:03 +0000
Subject: zarr-3.2-compat

Origin: https://github.com/dask/dask/pull/12366/changes/4c2ad6d49feabe0498018804285f2218abb6eb9f
Forwarded: not-needed
---
 dask/array/core.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dask/array/core.py b/dask/array/core.py
index 7dfff2b..4f121d2 100644
--- a/dask/array/core.py
+++ b/dask/array/core.py
@@ -3853,7 +3853,7 @@ def to_zarr(
     else:
         store = url
 
-    chunks = [c[0] for c in arr.chunks]
+    chunks = [max(c[0], 1) for c in arr.chunks]
 
     z = zarr.create(
         shape=arr.shape,

Reply via email to