From a2349080b62840fb2d77cacdc939ffb81b4c5ba6 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Tue, 14 Jul 2026 14:43:45 -0400 Subject: [PATCH 1/4] build-numpy: update to 2.5.1 Signed-off-by: Trevor Gamblin --- .github/workflows/build-numpy.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-numpy.yml b/.github/workflows/build-numpy.yml index a43b632..cdfa85e 100644 --- a/.github/workflows/build-numpy.yml +++ b/.github/workflows/build-numpy.yml @@ -5,31 +5,30 @@ on: workflow_dispatch: inputs: version: - description: 'numpy version to build (git tag without leading v, e.g. 2.5.0)' + description: 'numpy version to build (git tag without leading v, e.g. 2.5.1)' required: true - default: '2.5.0' + default: '2.5.1' pull_request: paths: - '.github/workflows/build-numpy.yml' - 'actions/publish-to-gitlab/**' concurrency: - group: ${{ github.workflow }}-${{ inputs.version || '2.5.0' }}-${{ github.head_ref || github.run_id }} + group: ${{ github.workflow }}-${{ inputs.version || '2.5.1' }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true permissions: contents: read # to fetch code (actions/checkout) env: - # `inputs.version` is empty on pull_request events; default to 2.5.0 there. - NUMPY_VERSION: ${{ inputs.version || '2.5.0' }} + NUMPY_VERSION: ${{ inputs.version || '2.5.1' }} UV_EXTRA_INDEX_URL: https://pypi.riseproject.dev/simple/ UV_INDEX_STRATEGY: unsafe-best-match UV_ONLY_BINARY: ':all:' jobs: build_wheels: - name: Build numpy ${{ inputs.version || '2.5.0' }} ${{ matrix.python }}-manylinux_riscv64 + name: Build numpy ${{ inputs.version || '2.5.1' }} ${{ matrix.python }}-manylinux_riscv64 runs-on: ubuntu-24.04-riscv strategy: fail-fast: false @@ -102,7 +101,7 @@ jobs: if-no-files-found: error publish: - name: Publish numpy ${{ inputs.version || '2.5.0' }} to GitLab + name: Publish numpy ${{ inputs.version || '2.5.1' }} to GitLab needs: build_wheels # Only publish when the workflow was triggered from main with a specific # version. Manual trigger is the only entry point, so checking the ref is From 45c820ab912e25c6061a62e48fa5913e672b3c78 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Tue, 14 Jul 2026 15:33:44 -0400 Subject: [PATCH 2/4] workflows: build-numpy: reorder checkouts Signed-off-by: Trevor Gamblin --- .github/workflows/build-numpy.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-numpy.yml b/.github/workflows/build-numpy.yml index cdfa85e..d13293f 100644 --- a/.github/workflows/build-numpy.yml +++ b/.github/workflows/build-numpy.yml @@ -47,12 +47,6 @@ jobs: # `{project}/tools/wheels/cibw_before_build.sh`, which only works when # CWD == numpy root at cibuildwheel invocation time. python-wheels is # placed under `python-wheels-repo/` to free the workspace root for numpy. - - name: Checkout python-wheels - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - with: - path: python-wheels-repo - persist-credentials: false - - name: Checkout numpy v${{ env.NUMPY_VERSION }} uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: @@ -61,6 +55,12 @@ jobs: submodules: true persist-credentials: false + - name: Checkout python-wheels + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 + with: + path: python-wheels-repo + persist-credentials: false + - name: Restore compilation cache uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 id: ccache-restore From e55a60d13e1e678be46585427e0004e1d24855c4 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Tue, 14 Jul 2026 15:34:28 -0400 Subject: [PATCH 3/4] workflows: build-numpy: remove unused checkout Signed-off-by: Trevor Gamblin --- .github/workflows/build-numpy.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/build-numpy.yml b/.github/workflows/build-numpy.yml index d13293f..76e6457 100644 --- a/.github/workflows/build-numpy.yml +++ b/.github/workflows/build-numpy.yml @@ -55,12 +55,6 @@ jobs: submodules: true persist-credentials: false - - name: Checkout python-wheels - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - with: - path: python-wheels-repo - persist-credentials: false - - name: Restore compilation cache uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 id: ccache-restore From 1ae15780a2d246f0d74de05dcad43f9402ed92f2 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Tue, 14 Jul 2026 15:35:39 -0400 Subject: [PATCH 4/4] workflows: build-numpy: reference publish-to-gitlab directly instead of using checkout Signed-off-by: Trevor Gamblin --- .github/workflows/build-numpy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-numpy.yml b/.github/workflows/build-numpy.yml index 76e6457..5499c5c 100644 --- a/.github/workflows/build-numpy.yml +++ b/.github/workflows/build-numpy.yml @@ -120,7 +120,7 @@ jobs: merge-multiple: true - name: Publish to GitLab PyPI registry - uses: ./python-wheels-repo/actions/publish-to-gitlab + uses: riseproject-dev/python-wheels/actions/publish-to-gitlab@main with: gitlab-username: ${{ vars.GITLAB_DEPLOY_USER }} gitlab-token: ${{ secrets.GITLAB_DEPLOY_TOKEN }}