You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cannot import name 'cbuffer_sizes' from 'numcodecs.blosc' #721
It looks like the latest released version 0.16.0 is not compatible with zarr < 3. It gives me
/usr/share/miniconda/envs/ome_zarr_converter/lib/python3.11/site-packages/zarr/util.py:34: in <module>
from numcodecs.blosc import cbuffer_sizes, cbuffer_metainfo
E ImportError: cannot import name 'cbuffer_sizes' from 'numcodecs.blosc' (/usr/share/miniconda/envs/ome_zarr_converter/lib/python3.11/site-packages/numcodecs/blosc.cpython-311-x86_64-linux-gnu.so)
Thanks!
Reacted by Gaudenz Halter, Marco Radke-Fretz, Jan Eglinger, Miguel de Benito Delgado, Isaac To, Mike VanDenburgh, Lucas Diedrich, Hauke Schulz, Talley Lambert, Agriya Khetarpal and 5 more
Activity
basnijholt commentedon Apr 7, 2025
I run into this in https://github.com/pipefunc/pipefunc as well.
Pinning to <0.16 seems to fix it.
MAINT: Pin zarr-developers/numcodecs#721
jakirkham commentedon Apr 7, 2025
This is likely due to removal of deprecated functions in PR: #712
Looks like Zarr still needs an update to drop these names: zarr-developers/zarr-python#2963
LCGaoZzz commentedon Apr 8, 2025
Solution #733
Pin numcodecs <0.16.0 for zarr 3 compatibility. See zarr-developers/n…
(Again) Pin numcodecs <0.16.0 for zarr 3 compatibility. See zarr-deve…
Improve Swagger doc (fix numcodecs==0.15.1 issue zarr-developers/numc…
Bump Zarr version
yarikoptic commentedon Apr 21, 2026
oh hoh, ping on this anniversary + 2 weeks .
Remove cap for numcodecs
Zeitsperre commentedon May 13, 2026
A user from one of my libraries ran into this issue recently as well:
Downgrading
numcodecsseemed to be the workaround.