Skip to content

Commit f3b6b3e

Browse files
authored
Merge branch 'main' into rmg/cache_remote_stores_locally
2 parents 84a87e2 + 9498336 commit f3b6b3e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+893
-436
lines changed

changes/3318.misc.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Define a ``Protocol`` to model the ``numcodecs.abc.Codec`` interface. This is groundwork toward
2+
making ``numcodecs`` an optional dependency for ``zarr-python``.

changes/3367.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Added `zarr.errors.ArrayNotFoundError`, which is raised when attempting to open a zarr array that does not exist, and `zarr.errors.NodeNotFoundError`, which is raised when failing to open an array or a group in a context where either an array or a group was expected.

changes/3368.misc.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Improved performance of reading arrays by not unnecessarily using
2+
the fill value.

changes/3371.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Ensure that tests for executable examples are run in a fresh python environment.

changes/3372.misc.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Make certain imports in ``zarr.abc.store`` local to method definitions. This minimizes the risk of
2+
circular imports when adding new classes to ``zarr.abc.store``.

changes/3374.misc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Replaces usage of the ``zarr.core.common.ChunkCoords`` typealias with ``tuple[int, ...]``.

changes/3378.bugfix.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Ensure passing `config` is handled properly when `open`ing an existing
2+
array.
3+

changes/3395.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Raise a Zarr-specific error class when a codec can't be found by name when deserializing the given codecs. This avoids hiding this error behind a "not part of a zarr hierarchy" warning.

docs/developers/roadmap.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Goals
5656
- Provide a complete implementation of Zarr V3 through the Zarr-Python
5757
API
5858
- Clear the way for exciting extensions / ZEPs
59-
(i.e. `sharding <https://zarr-specs.readthedocs.io/en/latest/v3/codecs/sharding-indexed/v1.0.html>`__,
59+
(i.e. `sharding <https://zarr-specs.readthedocs.io/en/latest/v3/codecs/sharding-indexed/>`__,
6060
`variable chunking <https://zarr.dev/zeps/draft/ZEP0003.html>`__,
6161
etc.)
6262
- Provide a developer API that can be used to implement and register V3

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["hatchling>=1.27.0", "hatch-vcs", "setuptools-scm!=9.0.0"]
2+
requires = ["hatchling>=1.27.0", "hatch-vcs"]
33
build-backend = "hatchling.build"
44

55
[tool.hatch.build.targets.sdist]
@@ -115,11 +115,11 @@ docs = [
115115

116116

117117
[project.urls]
118-
"Bug Tracker" = "https://github.com/zarr-developers/zarr-python/issues"
119-
Changelog = "https://zarr.readthedocs.io/en/stable/release-notes.html"
118+
issues = "https://github.com/zarr-developers/zarr-python/issues"
119+
changelog = "https://zarr.readthedocs.io/en/stable/release-notes.html"
120120
Discussions = "https://github.com/zarr-developers/zarr-python/discussions"
121-
Documentation = "https://zarr.readthedocs.io/"
122-
Homepage = "https://github.com/zarr-developers/zarr-python"
121+
documentation = "https://zarr.readthedocs.io/"
122+
homepage = "https://github.com/zarr-developers/zarr-python"
123123

124124
[dependency-groups]
125125
dev = [
@@ -352,14 +352,14 @@ module = [
352352
"tests.test_store.test_fsspec",
353353
"tests.test_store.test_memory",
354354
"tests.test_codecs.test_codecs",
355+
"tests.test_metadata.*",
355356
]
356357
strict = false
357358

358359
# TODO: Move the next modules up to the strict = false section
359360
# and fix the errors
360361
[[tool.mypy.overrides]]
361362
module = [
362-
"tests.test_metadata.*",
363363
"tests.test_store.test_core",
364364
"tests.test_store.test_logging",
365365
"tests.test_store.test_object",

0 commit comments

Comments
 (0)