summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2022-12-18 12:34:42 +0200
committermattip <matti.picus@gmail.com>2022-12-18 12:34:42 +0200
commit899a165cc7ab6e463101a53d42f8a930bc3b3666 (patch)
tree85ae383512b5c6d8adba20414817349b8dfe08b5
parent1f80ce288829b73b487474a921aa3ae2402d9fa7 (diff)
downloadnumpy-899a165cc7ab6e463101a53d42f8a930bc3b3666.tar.gz
BLD: redo delocate, update labeler
-rw-r--r--.github/workflows/labeler.yml15
-rw-r--r--tools/wheels/cibw_before_build.sh3
2 files changed, 8 insertions, 10 deletions
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index d673b2faf..3414c7213 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -1,19 +1,18 @@
name: "Pull Request Labeler"
on:
pull_request_target:
- types: [opened, synchronize, reopened, edited]
+ types: [created]
permissions: {}
+ contents: write # to add labels
jobs:
- pr-labeler:
- permissions:
- contents: read # to read a configuration file
- pull-requests: write # to add labels to pull requests
-
+ label_pull_request by the PR label:
runs-on: ubuntu-latest
steps:
- name: Label the PR
uses: gerrymanoim/pr-prefix-labeler@v3
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ continue-on-error: true
+ with:
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"
+ if: github.repository == 'numpy/numpy'
diff --git a/tools/wheels/cibw_before_build.sh b/tools/wheels/cibw_before_build.sh
index b9d8bd144..62d4e3f7e 100644
--- a/tools/wheels/cibw_before_build.sh
+++ b/tools/wheels/cibw_before_build.sh
@@ -42,6 +42,5 @@ if [[ $RUNNER_OS == "macOS" ]]; then
fi
source $PROJECT_DIR/tools/wheels/gfortran_utils.sh
install_gfortran
- # Try a newer version of delocate that knows about /usr/local/lib
- pip install git+https://github.com/matthew-brett/delocate@2b10a14b
+ pip install "delocate==0.10.4"
fi