From 567dbe615407dddf41fca42180674348c790b1f1 Mon Sep 17 00:00:00 2001 From: jmoore Date: Mon, 7 Sep 2020 16:34:13 +0200 Subject: [PATCH 1/3] Bump "upcoming release" to 0.7.0 --- docs/release.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/release.rst b/docs/release.rst index a535f078..e06841fb 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -1,8 +1,10 @@ Release notes ============= -Upcoming Release ----------------- +.. _release_0.7.0: + +0.7.0 +----- * Add Base64 codec. By :user: `Trevor Manz `, :issue: `176`. From ba8759ba20b74d0a8d551e6c8d5289e33ae86058 Mon Sep 17 00:00:00 2001 From: jmoore Date: Tue, 8 Sep 2020 09:10:16 +0200 Subject: [PATCH 2/3] Build sdist and upload to pypi --- .github/workflows/wheel.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/.github/workflows/wheel.yaml b/.github/workflows/wheel.yaml index 71a25305..cc133fc4 100644 --- a/.github/workflows/wheel.yaml +++ b/.github/workflows/wheel.yaml @@ -37,3 +37,37 @@ jobs: with: name: wheels path: ./wheelhouse + + build_sdist: + name: Build source distribution + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - uses: actions/setup-python@v2 + name: Install Python + with: + python-version: '3.7' + + - name: Build sdist + run: python setup.py sdist + + - uses: actions/upload-artifact@v2 + with: + path: dist/*.tar.gz + + upload_pypi: + needs: [build_wheels, build_sdist] + runs-on: ubuntu-latest + if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') + steps: + - uses: actions/download-artifact@v2 + with: + name: artifact + path: dist + + - uses: pypa/gh-action-pypi-publish@master + with: + user: __token__ + password: ${{ secrets.pypi_password }} + # To test: repository_url: https://test.pypi.org/legacy/ From 6799e8c1c7e087b3c362b4b4faec406095cfd031 Mon Sep 17 00:00:00 2001 From: jmoore Date: Tue, 8 Sep 2020 09:10:33 +0200 Subject: [PATCH 3/3] Add Czaki and myself; fix Trevor's link --- docs/index.rst | 3 +++ docs/release.rst | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index 665bbd2f..2e540f25 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -91,6 +91,9 @@ documentation, code reviews, comments and/or ideas: * :user:`John Kirkham ` * :user:`Alistair Miles ` * :user:`Jeff Reback ` +* :user:`Trevor Manz ` +* :user:`Grzegorz Bokota ` +* :user:`Josh Moore ` Numcodecs bundles the `c-blosc `_ library. diff --git a/docs/release.rst b/docs/release.rst index e06841fb..512af204 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -6,8 +6,14 @@ Release notes 0.7.0 ----- +* Automatically release to PyPI. + By :user:`Josh Moore `, :issue:`241`. + +* Build wheels on github actions. + By :user:`Grzegorz Bokota `, :issue:`224`. + * Add Base64 codec. - By :user: `Trevor Manz `, :issue: `176`. + By :user:`Trevor Manz `, :issue:`176`. * Add partial decompression of Blosc compressed arrays. By :user:`Andrew Fulton `, :issue:`235`.