Skip to content

Commit d69c0c9

Browse files
authored
Merge pull request #17 from maxrjones/bump-obstore
Merge updates and bump obstore
2 parents 9c259d2 + 46e43c6 commit d69c0c9

File tree

21 files changed

+170
-54
lines changed

21 files changed

+170
-54
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ contact_links:
55
about: A new major feature should be discussed in the Zarr specifications repository.
66
- name: Discuss something on ZulipChat
77
url: https://ossci.zulipchat.com/
8-
about: For questions like "How do I do X with Zarr?", you can move to our ZulipChat.
8+
about: For questions like "How do I do X with Zarr?", consider posting your question to our developer chat.
99
- name: Discuss something on GitHub Discussions
1010
url: https://github.com/zarr-developers/zarr-python/discussions
1111
about: For questions like "How do I do X with Zarr?", you can move to GitHub Discussions.

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ci:
66
default_stages: [pre-commit, pre-push]
77
repos:
88
- repo: https://github.com/astral-sh/ruff-pre-commit
9-
rev: v0.9.4
9+
rev: v0.9.9
1010
hooks:
1111
- id: ruff
1212
args: ["--fix", "--show-fixes"]
@@ -22,7 +22,7 @@ repos:
2222
- id: check-yaml
2323
- id: trailing-whitespace
2424
- repo: https://github.com/pre-commit/mirrors-mypy
25-
rev: v1.14.1
25+
rev: v1.15.0
2626
hooks:
2727
- id: mypy
2828
files: src|tests

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
</td>
7171
</tr>
7272
<tr>
73-
<td>Zulip</td>
73+
<td>Developer Chat</td>
7474
<td>
7575
<a href="https://ossci.zulipchat.com/">
7676
<img src="https://img.shields.io/badge/zulip-join_chat-brightgreen.svg" />

changes/2665.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/2796.chore.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/2847.fix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/2851.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Zarr-Python
2020
**Useful links**:
2121
`Source Repository <https://github.com/zarr-developers/zarr-python>`_ |
2222
`Issue Tracker <https://github.com/zarr-developers/zarr-python/issues>`_ |
23-
`Zulip Chat <https://ossci.zulipchat.com/>`_ |
23+
`Developer Chat <https://ossci.zulipchat.com/>`_ |
2424
`Zarr specifications <https://zarr-specs.readthedocs.io>`_
2525

2626
Zarr-Python is a Python library for reading and writing Zarr groups and arrays. Highlights include:

docs/release-notes.rst

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,42 @@ Release notes
33

44
.. towncrier release notes start
55
6+
3.0.5 (2025-03-07)
7+
------------------
8+
9+
Bugfixes
10+
~~~~~~~~
11+
12+
- Fixed a bug where ``StorePath`` creation would not apply standard path normalization to the ``path`` parameter,
13+
which led to the creation of arrays and groups with invalid keys. (:issue:`2850`)
14+
- Prevent update_attributes calls from deleting old attributes (:issue:`2870`)
15+
16+
17+
Misc
18+
~~~~
19+
20+
- :issue:`2796`
21+
22+
3.0.4 (2025-02-23)
23+
------------------
24+
25+
Features
26+
~~~~~~~~
27+
28+
- Adds functions for concurrently creating multiple arrays and groups. (:issue:`2665`)
29+
30+
Bugfixes
31+
~~~~~~~~
32+
33+
- Fixed a bug where ``ArrayV2Metadata`` could save ``filters`` as an empty array. (:issue:`2847`)
34+
- Fix a bug when setting values of a smaller last chunk. (:issue:`2851`)
35+
36+
Misc
37+
~~~~
38+
39+
- :issue:`2828`
40+
41+
642
3.0.3 (2025-02-14)
743
------------------
844

docs/user-guide/v3_migration.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,30 @@ The Store class
124124
The Store API has changed significant in Zarr-Python 3. The most notable changes to the
125125
Store API are:
126126

127+
Store Import Paths
128+
^^^^^^^^^^^^^^^^^^
129+
Several store implementations have moved from the top-level module to ``zarr.storage``:
130+
131+
.. code-block:: diff
132+
:caption: Store import changes from v2 to v3
133+
134+
# Before (v2)
135+
- from zarr import MemoryStore, DirectoryStore
136+
+ from zarr.storage import MemoryStore, LocalStore # LocalStore replaces DirectoryStore
137+
138+
Common replacements:
139+
140+
+-------------------------+------------------------------------+
141+
| v2 Import | v3 Import |
142+
+=========================+====================================+
143+
| ``zarr.MemoryStore`` | ``zarr.storage.MemoryStore`` |
144+
+-------------------------+------------------------------------+
145+
| ``zarr.DirectoryStore`` | ``zarr.storage.LocalStore`` |
146+
+-------------------------+------------------------------------+
147+
| ``zarr.TempStore`` | Use ``tempfile.TemporaryDirectory``|
148+
| | with ``LocalStore`` |
149+
+-------------------------+------------------------------------+
150+
127151
1. Replaced the ``MutableMapping`` base class in favor of a custom abstract base class
128152
(:class:`zarr.abc.store.Store`).
129153
2. Switched to an asynchronous interface for all store methods that result in IO. This

0 commit comments

Comments
 (0)