Skip to content

Commit e3dba80

Browse files
committed
Merge remote-tracking branch 'origin/main' into fix_json_indent
2 parents 7123ce3 + a615ee9 commit e3dba80

40 files changed

+515
-251
lines changed

.github/workflows/releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
with:
5656
name: releases
5757
path: dist
58-
- uses: pypa/[email protected].2
58+
- uses: pypa/[email protected].3
5959
with:
6060
user: __token__
6161
password: ${{ secrets.pypi_password }}

docs/conf.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
"sphinx_issues",
4848
"sphinx_copybutton",
4949
"sphinx_design",
50+
'sphinx_reredirects',
5051
]
5152

5253
issues_github_path = "zarr-developers/zarr-python"
@@ -81,6 +82,13 @@
8182
version = get_version("zarr")
8283
release = get_version("zarr")
8384

85+
redirects = {
86+
"spec": "https://zarr-specs.readthedocs.io",
87+
"spec/v1": 'https://zarr-specs.readthedocs.io/en/latest/v1/v1.0.html',
88+
"spec/v2": "https://zarr-specs.readthedocs.io/en/latest/v2/v2.0.html",
89+
"spec/v3": "https://zarr-specs.readthedocs.io/en/latest/v3/core/v3.0.html",
90+
}
91+
8492
# The language for content autogenerated by Sphinx. Refer to documentation
8593
# for a list of supported languages.
8694
#

docs/contributing.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Contributing to Zarr
2-
====================
1+
Contributing
2+
============
33

44
Zarr is a community maintained project. We welcome contributions in the form of bug
55
reports, bug fixes, documentation, enhancement proposals and more. This page provides
@@ -307,7 +307,8 @@ Data format compatibility
307307
The data format used by Zarr is defined by a specification document, which should be
308308
platform-independent and contain sufficient detail to construct an interoperable
309309
software library to read and/or write Zarr data using any programming language. The
310-
latest version of the specification document is available from the :ref:`spec` page.
310+
latest version of the specification document is available on the
311+
`Zarr specifications website <https://zarr-specs.readthedocs.io>`_.
311312

312313
Here, **data format compatibility** means that all software libraries that implement a
313314
particular version of the Zarr storage specification are interoperable, in the sense

docs/guide/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ Guide
44
.. toctree::
55
:maxdepth: 1
66

7+
whatsnew_v3
78
storage
89
consolidated_metadata

docs/guide/whatsnew_v3.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
What's new in v3
2+
================
3+
4+
This page gives an overview of major changes and additions in version 3.
5+
6+
7+
Dependencies
8+
------------
9+
- The new ``remote`` dependency group can be used to install a supported version of
10+
``fsspec``, required for remote data access.
11+
- The new ``gpu`` dependency group can be used to install a supported version of
12+
``cuda``, required for GPU functionality.
13+
- The ``jupyter`` optional dependency group has been removed, since v3 contains no
14+
jupyter specific functionality.

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Zarr-Python
1212
tutorial
1313
guide/index
1414
api/index
15-
spec
1615
release
1716
license
1817
contributing
@@ -26,7 +25,8 @@ Zarr-Python
2625
`Installation <installation.html>`_ |
2726
`Source Repository <https://github.com/zarr-developers/zarr-python>`_ |
2827
`Issue Tracker <https://github.com/zarr-developers/zarr-python/issues>`_ |
29-
`Zulip Chat <https://ossci.zulipchat.com/>`_
28+
`Zulip Chat <https://ossci.zulipchat.com/>`_ |
29+
`Zarr specifications <https://zarr-specs.readthedocs.io>`_
3030

3131
Zarr is a file storage format for chunked, compressed, N-dimensional arrays based on an open-source specification.
3232

docs/release.rst

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ Dependency Changes
3939
fsspec and any relevant implementations (e.g. s3fs) before using the ``RemoteStore``.
4040
By :user:`Joe Hamman <jhamman>` :issue:`2391`.
4141

42+
* ``RemoteStore`` was renamed to ``FsspecStore``.
43+
By :user:`Joe Hamman <jhamman>` :issue:`2557`.
4244

4345
.. release_3.0.0-alpha:
4446
@@ -216,17 +218,17 @@ Typing
216218
Maintenance
217219
~~~~~~~~~~~
218220

219-
* Remedy a situation where ``zarr-python`` was importing ``DummyStorageTransformer`` from the test suite.
221+
* Remedy a situation where ``zarr-python`` was importing ``DummyStorageTransformer`` from the test suite.
220222
The dependency relationship is now reversed: the test suite imports this class from ``zarr-python``.
221223
By :user:`Davis Bennett <d-v-b>` :issue:`1601`.
222224

223-
* [V3] Update minimum supported Python and Numpy versions.
225+
* [V3] Update minimum supported Python and Numpy versions.
224226
By :user:`Joe Hamman <jhamman>` :issue:`1638`
225227

226228
* use src layout and use hatch for packaging.
227229
By :user:`Davis Bennett <d-v-b>` :issue:`1592`.
228230

229-
* temporarily disable mypy in v3 directory.
231+
* temporarily disable mypy in v3 directory.
230232
By :user:`Joe Hamman <jhamman>` :issue:`1649`.
231233

232234
* create hatch test env.
@@ -313,10 +315,10 @@ Maintenance
313315
Documentation
314316
~~~~~~~~~~~~~
315317

316-
* Specify docs hatch env for v3 branch.
318+
* Specify docs hatch env for v3 branch.
317319
By :user:`Max Jones <maxrjones>` :issue:`1655`.
318320

319-
* Development installation/contributing docs updates.
321+
* Development installation/contributing docs updates.
320322
By :user:`Alden Keefe Sampson <aldenks>` :issue:`1643`.
321323

322324
* chore: update project settings per scientific python repo-review.
@@ -334,7 +336,7 @@ Enhancements
334336
~~~~~~~~~~~~
335337
* Added support for creating a copy of data when converting a `zarr.Array`
336338
to a numpy array.
337-
By :user:`David Stansby <dstansby>` (:issue:`2106`) and
339+
By :user:`David Stansby <dstansby>` (:issue:`2106`) and
338340
:user:`Joe Hamman <jhamman>` (:issue:`2123`).
339341

340342
Maintenance
@@ -2189,7 +2191,7 @@ Other changes
21892191
~~~~~~~~~~~~~
21902192

21912193
To accommodate support for hierarchies and filters, the Zarr metadata format
2192-
has been modified. See the :ref:`spec_v2` for more information. To migrate an
2194+
has been modified. See the ``spec_v2`` for more information. To migrate an
21932195
array stored using Zarr version 1.x, use the :func:`zarr.storage.migrate_1to2`
21942196
function.
21952197

@@ -2235,14 +2237,14 @@ abstraction layer between the core array logic and data storage (:issue:`21`).
22352237
In this release, any
22362238
object that implements the ``MutableMapping`` interface can be used as
22372239
an array store. See the tutorial sections on :ref:`tutorial_persist`
2238-
and :ref:`tutorial_storage`, the :ref:`spec_v1`, and the
2240+
and :ref:`tutorial_storage`, the ``spec_v1``, and the
22392241
:mod:`zarr.storage` module documentation for more information.
22402242

22412243
Please note also that the file organization and file name conventions
22422244
used when storing a Zarr array in a directory on the file system have
22432245
changed. Persistent Zarr arrays created using previous versions of the
22442246
software will not be compatible with this version. See the
2245-
:mod:`zarr.storage` API docs and the :ref:`spec_v1` for more
2247+
:mod:`zarr.storage` API docs and the ``spec_v1`` for more
22462248
information.
22472249

22482250
Compression
@@ -2255,7 +2257,7 @@ as the default compressor, however other compressors including zlib,
22552257
BZ2 and LZMA are also now supported via the Python standard
22562258
library. New compressors can also be dynamically registered for use
22572259
with Zarr. See the tutorial sections on :ref:`tutorial_compress` and
2258-
:ref:`tutorial_tips_blosc`, the :ref:`spec_v1`, and the
2260+
:ref:`tutorial_tips_blosc`, the ``spec_v1``, and the
22592261
:mod:`zarr.compressors` module documentation for more information.
22602262

22612263
Synchronization

docs/spec.rst

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

docs/spec/v1.rst

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

docs/spec/v2.rst

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

0 commit comments

Comments
 (0)