From bf3054a738c43b3df492b86c36855a5df8172768 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Fri, 17 Jul 2026 08:58:35 -0400 Subject: [PATCH] workflows: build-numpy: don't use GPL sources logic This isn't required after all, since openblas-libs provides binaries upstream which we consume directly. We can keep the action for use with other packages, but it doesn't need to be consumed in the NumPy builds right now. Signed-off-by: Trevor Gamblin --- .github/workflows/build-numpy.yml | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/.github/workflows/build-numpy.yml b/.github/workflows/build-numpy.yml index 663afef..bf23c41 100644 --- a/.github/workflows/build-numpy.yml +++ b/.github/workflows/build-numpy.yml @@ -98,26 +98,9 @@ jobs: path: ./wheelhouse/*.whl if-no-files-found: error - gpl_sources: - name: Collect GPL sources (gcc) for numpy ${{ inputs.version || '2.5.1' }} - runs-on: ubuntu-24.04-riscv - steps: - - name: Collect gcc source RPM from manylinux_riscv64 - uses: riseproject-dev/python-wheels/actions/collect-gpl-sources@main - with: - image: ${{ env.MANYLINUX_RISCV64_IMAGE }} - packages: gcc - output: gpl-sources.tar - - - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 - with: - name: numpy-${{ env.NUMPY_VERSION }}-gpl-sources - path: gpl-sources.tar - if-no-files-found: error - publish: name: Publish numpy ${{ inputs.version || '2.5.1' }} to GitLab - needs: [build_wheels, gpl_sources] + 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 # enough to gate uploads. @@ -136,6 +119,3 @@ jobs: gitlab-token: ${{ secrets.GITLAB_DEPLOY_TOKEN }} gitlab-project-id: ${{ vars.GITLAB_PROJECT_ID }} gh-token: ${{ secrets.GITHUB_TOKEN }} - gpl-sources-artifact: numpy-${{ env.NUMPY_VERSION }}-gpl-sources - gpl-sources-release-tag: numpy-v${{ env.NUMPY_VERSION }} - gpl-sources-description: gcc