Skip to content

Commit c7132b9

Browse files
authored
Merge branch 'main' into release/3.0.1-notes
2 parents 7b5e39d + 2e30271 commit c7132b9

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

docs/release-notes.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ Documentation
2323

2424
* Quickstart guide alignment with V3 API (:issue:`2697`).
2525

26+
Documentation
27+
~~~~~~~~~~~~~
28+
29+
* Fix doctest failures related to numcodecs 0.15 (:issue:`2727`).
30+
2631
Other
2732
~~~~~
2833
* Removed some unnecessary files from the source distribution

docs/user-guide/arrays.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ built-in delta filter::
241241
>>> data = np.arange(100000000, dtype='int32').reshape(10000, 10000)
242242
>>> z = zarr.create_array(store='data/example-7.zarr', shape=data.shape, dtype=data.dtype, chunks=(1000, 1000), compressors=compressors)
243243
>>> z.compressors
244-
(_make_bytes_bytes_codec.<locals>._Codec(codec_name='numcodecs.lzma', codec_config={'id': 'lzma', 'filters': [{'id': 3, 'dist': 4}, {'id': 33, 'preset': 1}]}),)
244+
(LZMA(codec_name='numcodecs.lzma', codec_config={'filters': [{'id': 3, 'dist': 4}, {'id': 33, 'preset': 1}]}),)
245245

246246
The default compressor can be changed by setting the value of the using Zarr's
247247
:ref:`user-guide-config`, e.g.::
@@ -292,7 +292,7 @@ Here is an example using a delta filter with the Blosc compressor::
292292
Order : C
293293
Read-only : False
294294
Store type : LocalStore
295-
Filters : (_make_array_array_codec.<locals>._Codec(codec_name='numcodecs.delta', codec_config={'id': 'delta', 'dtype': 'int32'}),)
295+
Filters : (Delta(codec_name='numcodecs.delta', codec_config={'dtype': 'int32'}),)
296296
Serializer : BytesCodec(endian=<Endian.little: 'little'>)
297297
Compressors : (BloscCodec(typesize=4, cname=<BloscCname.zstd: 'zstd'>, clevel=1, shuffle=<BloscShuffle.shuffle: 'shuffle'>, blocksize=0),)
298298
No. bytes : 400000000 (381.5M)

0 commit comments

Comments
 (0)