Skip to content

Commit

Permalink
Prepare 2.13.0 release (#1133)
Browse files Browse the repository at this point in the history
* Prepare 2.13.0 release

* Update release instructions for pre-releases

* Add #1142 for Greg's work

* Make python-version match for pre-commits
  • Loading branch information
joshmoore authored Sep 22, 2022
1 parent 3632820 commit bc13b7f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/Pre-commit-hooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
- uses: actions/checkout@v3
#setting up Python v3.0.0
- uses: actions/[email protected]
with:
python-version: '3.9'
#using pre-commit latest i.e v2.0.3
- uses: pre-commit/[email protected]
#Running pre-commit for all files
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
default_stages: [commit, push]
default_language_version:
python: python3.8
python: python3.9
repos:
- repo: https://github.com/PyCQA/flake8
rev: 3.8.2
Expand All @@ -14,4 +14,4 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: check-yaml
18 changes: 13 additions & 5 deletions docs/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -344,14 +344,22 @@ included in the release have been properly documented in
To make a new release, go to
https://github.com/zarr-developers/zarr-python/releases and
click "Draft a new release". Choose a version number prefixed
with a `v` (e.g. `v0.0.0`) and set the description to:
with a `v` (e.g. `v0.0.0`). For pre-releases, include the
appropriate suffix (e.g. `v0.0.0a1` or `v0.0.0rc2`).

```
See release notes https://zarr.readthedocs.io/en/stable/release.html#release-0-0-0
```

Set the description of the release to::

See release notes https://zarr.readthedocs.io/en/stable/release.html#release-0-0-0

replacing the correct version numbers. For pre-release versions,
the URL should omit the pre-release suffix, e.g. "a1" or "rc1".

Be sure to review and merge the https://github.com/conda-forge/zarr-feedstock
After creating the release, the documentation will be built on
https://readthedocs.io. Full releases will be available under
`/stable <https://zarr.readthedocs.io/en/stable>`_ while
pre-releases will be available under
`/latest <https://zarr.readthedocs.io/en/latest>`_.

Also review and merge the https://github.com/conda-forge/zarr-feedstock
pull request that will be automatically generated.
8 changes: 5 additions & 3 deletions docs/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ Release notes

2.13.0
------
.. warning::
Pre-release! Use :command:`pip install --pre zarr` to evaluate this release.

..
# .. warning::
# Pre-release! Use :command:`pip install --pre zarr` to evaluate this release.
Major changes
~~~~~~~~~~~~~
Expand All @@ -35,7 +37,7 @@ Major changes

* **Zarr v3: add support for the default root path** rather than requiring
that all API users pass an explicit path.
By :user:`Gregory R. Lee <grlee77>` :issue:`1085`.
By :user:`Gregory R. Lee <grlee77>` :issue:`1085`, :issue:`1142`.


Bug fixes
Expand Down

0 comments on commit bc13b7f

Please sign in to comment.