Skip to content

Commit 41d4a91

Browse files
authored
Merge branch 'main' into feature/rectilinear-chunk-grid
2 parents 372704e + 6cc2b0d commit 41d4a91

19 files changed

Lines changed: 39 additions & 39 deletions

File tree

.github/workflows/check_changelogs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
1313

1414
- name: Install uv
15-
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
15+
uses: astral-sh/setup-uv@681c641aba71e4a1c380be3ab5e12ad51f415867 # v7.1.6
1616

1717
- name: Check changelog entries
1818
run: uv run --no-sync python ci/check_changelog_entries.py

.github/workflows/hypothesis.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache
5353
- name: Restore cached hypothesis directory
5454
id: restore-hypothesis-cache
55-
uses: actions/cache/restore@v4
55+
uses: actions/cache/restore@v5
5656
with:
5757
path: .hypothesis/
5858
key: cache-hypothesis-${{ runner.os }}-${{ github.run_id }}
@@ -70,7 +70,7 @@ jobs:
7070
- name: Save cached hypothesis directory
7171
id: save-hypothesis-cache
7272
if: always() && steps.status.outcome != 'skipped'
73-
uses: actions/cache/save@v4
73+
uses: actions/cache/save@v5
7474
with:
7575
path: .hypothesis/
7676
key: cache-hypothesis-${{ runner.os }}-${{ github.run_id }}

.github/workflows/nightly_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: hatch build
3232

3333
- name: Upload nightly wheels
34-
uses: scientific-python/upload-nightly-action@b36e8c0c10dbcfd2e05bf95f17ef8c14fd708dbf
34+
uses: scientific-python/upload-nightly-action@5748273c71e2d8d3a61f3a11a16421c8954f9ecf
3535
with:
3636
artifacts_path: dist
3737
anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}

.github/workflows/releases.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
pip install hatch
2828
- name: Build wheel and sdist
2929
run: hatch build
30-
- uses: actions/upload-artifact@v5
30+
- uses: actions/upload-artifact@v6
3131
with:
3232
name: releases
3333
path: dist
@@ -36,7 +36,7 @@ jobs:
3636
needs: [build_artifacts]
3737
runs-on: ubuntu-latest
3838
steps:
39-
- uses: actions/download-artifact@v6
39+
- uses: actions/download-artifact@v7
4040
with:
4141
name: releases
4242
path: dist
@@ -51,7 +51,7 @@ jobs:
5151
runs-on: ubuntu-latest
5252
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
5353
steps:
54-
- uses: actions/download-artifact@v6
54+
- uses: actions/download-artifact@v7
5555
with:
5656
name: releases
5757
path: dist

docs/user-guide/storage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ print(store)
154154

155155
### Memory Store
156156

157-
The [`zarr.storage.MemoryStore`][] a in-memory store that allows for serialization of
157+
The [`zarr.storage.MemoryStore`][] an in-memory store that allows for serialization of
158158
Zarr data (metadata and chunks) to a dictionary:
159159

160160
```python exec="true" session="storage" source="above" result="ansi"

src/zarr/core/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1769,7 +1769,7 @@ async def _set_selection(
17691769
value = cast("NDArrayLike", value)
17701770

17711771
# We accept any ndarray like object from the user and convert it
1772-
# to a NDBuffer (or subclass). From this point onwards, we only pass
1772+
# to an NDBuffer (or subclass). From this point onwards, we only pass
17731773
# Buffer and NDBuffer between components.
17741774
value_buffer = prototype.nd_buffer.from_ndarray_like(value)
17751775

src/zarr/core/buffer/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ class NDBuffer:
315315
316316
We use NDBuffer throughout Zarr to represent a n-dimensional memory block.
317317
318-
A NDBuffer is backed by an underlying ndarray-like instance that represents
318+
An NDBuffer is backed by an underlying ndarray-like instance that represents
319319
the memory. The memory type is unspecified; can be regular host memory,
320320
CUDA device memory, or something else. The only requirement is that the
321321
ndarray-like instance can be copied/converted to a regular Numpy array
@@ -368,7 +368,7 @@ def create(
368368
369369
Notes
370370
-----
371-
A subclass can overwrite this method to create a ndarray-like object
371+
A subclass can overwrite this method to create an ndarray-like object
372372
other then the default Numpy array.
373373
"""
374374
if cls is NDBuffer:
@@ -416,7 +416,7 @@ def empty(
416416

417417
@classmethod
418418
def from_ndarray_like(cls, ndarray_like: NDArrayLike) -> Self:
419-
"""Create a new buffer of a ndarray-like object
419+
"""Create a new buffer of an ndarray-like object
420420
421421
Parameters
422422
----------

src/zarr/core/buffer/cpu.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Buffer(core.Buffer):
2828
2929
We use Buffer throughout Zarr to represent a contiguous block of memory.
3030
31-
A Buffer is backed by a underlying array-like instance that represents
31+
A Buffer is backed by an underlying array-like instance that represents
3232
the memory. The memory type is unspecified; can be regular host memory,
3333
CUDA device memory, or something else. The only requirement is that the
3434
array-like instance can be copied/converted to a regular Numpy array
@@ -121,7 +121,7 @@ class NDBuffer(core.NDBuffer):
121121
122122
We use NDBuffer throughout Zarr to represent a n-dimensional memory block.
123123
124-
A NDBuffer is backed by a underlying ndarray-like instance that represents
124+
An NDBuffer is backed by an underlying ndarray-like instance that represents
125125
the memory. The memory type is unspecified; can be regular host memory,
126126
CUDA device memory, or something else. The only requirement is that the
127127
ndarray-like instance can be copied/converted to a regular Numpy array

src/zarr/core/buffer/gpu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class NDBuffer(core.NDBuffer):
123123
124124
We use NDBuffer throughout Zarr to represent a n-dimensional memory block.
125125
126-
A NDBuffer is backed by an underlying ndarray-like instance that represents
126+
An NDBuffer is backed by an underlying ndarray-like instance that represents
127127
the memory. The memory type is unspecified; can be regular host memory,
128128
CUDA device memory, or something else. The only requirement is that the
129129
ndarray-like instance can be copied/converted to a regular Numpy array

src/zarr/core/dtype/npy/bytes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ def to_json_scalar(self, data: object, *, zarr_format: ZarrFormat) -> str:
899899

900900
def from_json_scalar(self, data: JSON, *, zarr_format: ZarrFormat) -> np.void:
901901
"""
902-
Read a JSON-serializable value as a np.void.
902+
Read a JSON-serializable value as an np.void.
903903
904904
Parameters
905905
----------

0 commit comments

Comments
 (0)