From 716e4ac7d409e55e98acb809b0eaa4918ce8f32c Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Mon, 12 Sep 2022 16:15:13 +0200 Subject: [PATCH 1/4] Prepare 2.13.0 release --- docs/release.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/release.rst b/docs/release.rst index b79341df52..ab649c278e 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -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 ~~~~~~~~~~~~~ From 16d5ea1511b0af1a44594e0b8b6bc1f9c777f2f9 Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Mon, 12 Sep 2022 16:20:21 +0200 Subject: [PATCH 2/4] Update release instructions for pre-releases --- docs/contributing.rst | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/docs/contributing.rst b/docs/contributing.rst index f7b4831089..0b3c56bc01 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -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 `_ while +pre-releases will be available under +`/latest `_. + +Also review and merge the https://github.com/conda-forge/zarr-feedstock pull request that will be automatically generated. From 2553e04cea700d4bfb1e92fb5bccabe81de9c6d1 Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Thu, 22 Sep 2022 10:12:06 +0200 Subject: [PATCH 3/4] Add #1142 for Greg's work --- .pre-commit-config.yaml | 4 ++-- docs/release.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 69828ad50d..70ead97d0b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -14,4 +14,4 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.3.0 hooks: - - id: check-yaml \ No newline at end of file + - id: check-yaml diff --git a/docs/release.rst b/docs/release.rst index ab649c278e..e963b5b509 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -37,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 ` :issue:`1085`. + By :user:`Gregory R. Lee ` :issue:`1085`, :issue:`1142`. Bug fixes From 1e3d9e61381f5012337555b95769f23f5b1db748 Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Thu, 22 Sep 2022 10:18:07 +0200 Subject: [PATCH 4/4] Make python-version match for pre-commits --- .github/workflows/Pre-commit-hooks.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/Pre-commit-hooks.yml b/.github/workflows/Pre-commit-hooks.yml index 7955cb239a..0e51c184fb 100644 --- a/.github/workflows/Pre-commit-hooks.yml +++ b/.github/workflows/Pre-commit-hooks.yml @@ -23,6 +23,8 @@ jobs: - uses: actions/checkout@v3 #setting up Python v3.0.0 - uses: actions/setup-python@v3.0.0 + with: + python-version: '3.9' #using pre-commit latest i.e v2.0.3 - uses: pre-commit/action@v2.0.3 #Running pre-commit for all files