Skip to content

Commit 20928ba

Browse files
committed
fixup
1 parent a2d3813 commit 20928ba

File tree

2 files changed

+5
-97
lines changed

2 files changed

+5
-97
lines changed

changes/2763.chore.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/release-notes.rst

Lines changed: 5 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -50,101 +50,12 @@ Improved Documentation
5050
- Changed the machinery for creating changelog entries.
5151
Now individual entries should be added as files to the `changes` directory in the `zarr-python` repository, instead of directly to the changelog file. (:issue:`2736`)
5252

53+
Chores
54+
~~~~~~
5355

54-
3.0.2 (2025-01-30)
55-
------------------
56-
57-
Features
58-
~~~~~~~~
59-
60-
- Test ``getsize()`` and ``getsize_prefix()`` in ``StoreTests``. (:issue:`2693`)
61-
- Test that a ``ValueError`` is raised for invalid byte range syntax in ``StoreTests``. (:issue:`2693`)
62-
- Separate instantiating and opening a store in ``StoreTests``. (:issue:`2693`)
63-
- Add a test for using Stores as a context managers in ``StoreTests``. (:issue:`2693`)
64-
- Implemented ``LogingStore.open()``. (:issue:`2693`)
65-
- ``LoggingStore`` is now a generic class. (:issue:`2693`)
66-
- Change StoreTest's ``test_store_repr``, ``test_store_supports_writes``,
67-
``test_store_supports_partial_writes``, and ``test_store_supports_listing``
68-
to to be implemented using ``@abstractmethod``, rather raising ``NotImplementedError``. (:issue:`2693`)
69-
- Test the error raised for invalid buffer arguments in ``StoreTests``. (:issue:`2693`)
70-
- Test that data can be written to a store that's not yet open using the store.set method in ``StoreTests``. (:issue:`2693`)
71-
- Adds a new function ``init_array`` for initializing an array in storage, and refactors ``create_array``
72-
to use ``init_array``. ``create_array`` takes two a new parameters: ``data``, an optional array-like object, and ``write_data``, a bool which defaults to ``True``.
73-
If ``data`` is given to ``create_array``, then the ``dtype`` and ``shape`` attributes of ``data`` are used to define the
74-
corresponding attributes of the resulting Zarr array. Additionally, if ``data`` given and ``write_data`` is ``True``,
75-
then the values in ``data`` will be written to the newly created array. (:issue:`2761`)
76-
77-
78-
Bugfixes
79-
~~~~~~~~
80-
81-
- Wrap sync fsspec filesystems with ``AsyncFileSystemWrapper``. (:issue:`2533`)
82-
- Added backwards compatibility for Zarr format 2 structured arrays. (:issue:`2681`)
83-
- Update equality for ``LoggingStore`` and ``WrapperStore`` such that 'other' must also be a ``LoggingStore`` or ``WrapperStore`` respectively, rather than only checking the types of the stores they wrap. (:issue:`2693`)
84-
- Ensure that ``ZipStore`` is open before getting or setting any values. (:issue:`2693`)
85-
- Use stdout rather than stderr as the default stream for ``LoggingStore``. (:issue:`2693`)
86-
- Match the errors raised by read only stores in ``StoreTests``. (:issue:`2693`)
87-
- Fixed ``ZipStore`` to make sure the correct attributes are saved when instances are pickled.
88-
This fixes a previous bug that prevent using ``ZipStore`` with a ``ProcessPoolExecutor``. (:issue:`2762`)
89-
- Updated the optional test dependencies to include ``botocore`` and ``fsspec``. (:issue:`2768`)
90-
- Fixed the fsspec tests to skip if ``botocore`` is not installed.
91-
Previously they would have failed with an import error. (:issue:`2768`)
92-
- Optimize full chunk writes. (:issue:`2782`)
93-
94-
95-
Improved Documentation
96-
~~~~~~~~~~~~~~~~~~~~~~
97-
98-
- Changed the machinery for creating changelog entries.
99-
Now individual entries should be added as files to the `changes` directory in the `zarr-python` repository, instead of directly to the changelog file. (:issue:`2736`)
100-
101-
102-
3.0.2 (2025-01-30)
103-
------------------
104-
105-
Features
106-
~~~~~~~~
107-
108-
- Test getsize() and getsize_prefix() in StoreTests. (:issue:`2693`)
109-
- Test that a ValueError is raised for invalid byte range syntax in StoreTests. (:issue:`2693`)
110-
- Separate instantiating and opening a store in StoreTests. (:issue:`2693`)
111-
- Add a test for using Stores as a context managers in StoreTests. (:issue:`2693`)
112-
- Implemented open() for LoggingStore. (:issue:`2693`)
113-
- LoggingStore is now a generic class. (:issue:`2693`)
114-
- Change StoreTest's ``test_store_repr``, ``test_store_supports_writes``,
115-
``test_store_supports_partial_writes``, and ``test_store_supports_listing``
116-
to to be implemented using ``@abstractmethod``, rather raising ``NotImplementedError``. (:issue:`2693`)
117-
- Test the error raised for invalid buffer arguments in StoreTests. (:issue:`2693`)
118-
- Test that data can be written to a store that's not yet open using the store.set method in StoreTests (:issue:`2693`)
119-
- Adds a new function ``init_array`` for initializing an array in storage, and refactors ``create_array``
120-
to use ``init_array``. ``create_array`` takes two a new parameters: ``data``, an optional array-like object, and ``write_data``, a bool which defaults to ``True``.
121-
If ``data`` is given to ``create_array``, then the ``dtype`` and ``shape`` attributes of ``data`` are used to define the
122-
corresponding attributes of the resulting Zarr array. Additionally, if ``data`` given and ``write_data`` is ``True``,
123-
then the values in ``data`` will be written to the newly created array. (:issue:`2761`)
124-
125-
126-
Bugfixes
127-
~~~~~~~~
128-
129-
- Wrap sync fsspec filesystems with AsyncFileSystemWrapper in xarray.to_zarr (:issue:`2533`)
130-
- Added backwards compatibility for Zarr format 2 structured arrays. (:issue:`2681`)
131-
- Update equality for LoggingStore and WrapperStore such that 'other' must also be a LoggingStore or WrapperStore respectively, rather than only checking the types of the stores they wrap. (:issue:`2693`)
132-
- Ensure that ZipStore is open before getting or setting any values. (:issue:`2693`)
133-
- Use stdout rather than stderr as the default stream for LoggingStore. (:issue:`2693`)
134-
- Match the errors raised by read only stores in StoreTests. (:issue:`2693`)
135-
- Fixed ZipStore to make sure the correct attributes are saved when instances are pickled.
136-
This fixes a previous bug that prevent using ZipStore with a ProcessPoolExecutor. (:issue:`2762`)
137-
- Updated the optional test dependencies to include ``botocore`` and ``fsspec``. (:issue:`2768`)
138-
- Fixed the fsspec tests to skip if ``botocore`` is not installed.
139-
Previously they would have failed with an import error. (:issue:`2768`)
140-
- Optimize full chunk writes (:issue:`2782`)
141-
142-
143-
Improved Documentation
144-
~~~~~~~~~~~~~~~~~~~~~~
145-
146-
- Changed the machinery for creating changelog entries.
147-
Now individual entries should be added as files to the `changes` directory in the `zarr-python` repository, instead of directly to the changelog file. (:issue:`2736`)
56+
- Created a type alias ``ChunkKeyEncodingLike`` to model the union of ``ChunkKeyEncoding`` instances and the dict form of the
57+
parameters of those instances. ``ChunkKeyEncodingLike`` should be used by high-level functions to provide a convenient
58+
way for creating ``ChunkKeyEncoding`` objects. (:issue:`2763`)
14859

14960

15061
3.0.1 (Jan. 17, 2025)

0 commit comments

Comments
 (0)