From 8f1e0065d4016e2e3def63cbc7f5dcdd6f229d86 Mon Sep 17 00:00:00 2001 From: botpub Date: Sun, 4 Feb 2024 13:37:43 +0100 Subject: [PATCH] MNT: Update github runner versions and add python 3.12 --- .github/workflows/ci.yml | 35 ++++++++++++++++++----------------- RELEASE.rst | 10 ++++++++++ 2 files changed, 28 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea6c3e07e..425433b48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,20 +7,21 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] os: [ ubuntu-latest, + ubuntu-20.04, macos-latest, + macos-11, windows-latest, - windows-2022, - macos-10.15, + windows-2019, ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -48,18 +49,19 @@ jobs: matrix: os: [macos-latest, windows-latest, ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Build wheels - uses: pypa/cibuildwheel@v2.12.0 + uses: pypa/cibuildwheel@v2.16.5 env: - CIBW_SKIP: pp* + CIBW_SKIP: pp* cp36-* - name: Store wheel artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: + name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} path: ./wheelhouse/*.whl build_sdist: @@ -67,30 +69,29 @@ jobs: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Build sdist run: pipx run build --sdist - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: dist/*.tar.gz release: needs: [build_wheels, build_sdist] - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: github.event_name == 'push' runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - # unpacks default artifact into dist/ - # if `name: artifact` is omitted, the action will create extra parent dir - name: artifact path: dist + merge-multiple: true - - uses: pypa/gh-action-pypi-publish@v1.5.0 + - uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.PYPI_API_TOKEN}} diff --git a/RELEASE.rst b/RELEASE.rst index f472f581c..11f1b2048 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -6,6 +6,16 @@ Release Notes These are the major changes made in each release. For details of the changes see the commit log at https://github.com/pydata/bottleneck +Bottleneck 1.3.8 +================ + +*Release date: 2024-02-04* + +Enhancements +~~~~~~~~~~~~ +- Python 3.12 wheel available +- Update CI config + Bottleneck 1.3.7 ================