From 2f53b339ecbb9cd655f544276b4eccc60808a3a0 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Fri, 19 Jun 2026 09:46:33 -0300 Subject: [PATCH 1/3] update pre-commits with dependabot --- .github/dependabot.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6c93c11..441d5c7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -15,3 +15,12 @@ updates: - '*' cooldown: default-days: 7 + + - package-ecosystem: "pre-commit" + directory: "/" + schedule: + interval: "daily" + labels: + - "Bot" + cooldown: + default-days: 7 From 32b2117c240e425167785a38eeb7db96c4b47b61 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Fri, 19 Jun 2026 09:46:42 -0300 Subject: [PATCH 2/3] build wheels for pyodide --- .github/workflows/cibuildwheel.yml | 31 ++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index 2a6ee4d..bcbc8ca 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -7,6 +7,10 @@ on: types: - published +permissions: + contents: read + + jobs: build_bdist: name: "Build ${{ matrix.os }} (${{ matrix.arch }}) wheels" @@ -16,16 +20,29 @@ jobs: fail-fast: false matrix: include: - - os: ubuntu-22.04 + - name: Linux + os: ubuntu-22.04 arch: x86_64 - - os: ubuntu-24.04-arm + cibw_platform: auto + - name: Pyodide + os: ubuntu-22.04 + cibw_platform: pyodide + - name: Linux-arm + os: ubuntu-24.04-arm arch: aarch64 - - os: windows-2022 + cibw_platform: auto + - name: Windows + os: windows-2022 arch: AMD64 - - os: macos-15 + cibw_platform: auto + - name: macOS-arm + os: macos-15 arch: arm64 - - os: macos-15-intel + cibw_platform: auto + - name: macOS-intel + os: macos-15-intel arch: x86_64 + cibw_platform: auto steps: - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 @@ -36,6 +53,7 @@ jobs: - name: "Building ${{ matrix.os }} (${{ matrix.arch }}) wheels" uses: pypa/cibuildwheel@294735312765b09d24a2fbec22660ce817587d55 # v4.1.0 env: + CIBW_PLATFORM: ${{ matrix.cibw_platform }} CIBW_SKIP: "*-musllinux*" CIBW_BUILD: "cp311-* cp314-*" CIBW_ARCHS: ${{ matrix.arch }} @@ -44,7 +62,8 @@ jobs: CIBW_TEST_REQUIRES: abi3audit pytest pandas>=2 CIBW_TEST_COMMAND: > python -c "import gsw; print(f'gsw v{gsw.__version__}')" && - python -m pytest --pyargs gsw && + python -m pytest --pyargs gsw + CIBW_TEST_COMMAND_LINUX: abi3audit ${{ github.workspace }}/wheelhouse/*.whl --summary --assume-minimum-abi3 3.11 --verbose --strict - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 From 45ad162bd0a9bd7e7a70f69c67f1cd9de528b995 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Sat, 20 Jun 2026 11:02:09 -0300 Subject: [PATCH 3/3] add cibw_platform to the job name --- .github/workflows/cibuildwheel.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index bcbc8ca..c58a5f3 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -13,7 +13,7 @@ permissions: jobs: build_bdist: - name: "Build ${{ matrix.os }} (${{ matrix.arch }}) wheels" + name: "Build ${{ matrix.os }} (${{ matrix.cibw_platform }}-${{ matrix.arch }}) wheels" runs-on: ${{ matrix.os }} timeout-minutes: 60 # should be long enough even on tags, but let's prevent hangs strategy: @@ -23,26 +23,27 @@ jobs: - name: Linux os: ubuntu-22.04 arch: x86_64 - cibw_platform: auto + cibw_platform: linux - name: Pyodide os: ubuntu-22.04 + arch: auto cibw_platform: pyodide - name: Linux-arm os: ubuntu-24.04-arm arch: aarch64 - cibw_platform: auto + cibw_platform: linux - name: Windows os: windows-2022 arch: AMD64 - cibw_platform: auto + cibw_platform: windows - name: macOS-arm os: macos-15 arch: arm64 - cibw_platform: auto + cibw_platform: macos - name: macOS-intel os: macos-15-intel arch: x86_64 - cibw_platform: auto + cibw_platform: macos steps: - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3