From 106f3bcae73726db1f55d6040bb78474c9dc3c5a Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Mon, 27 Nov 2023 23:48:47 +0200 Subject: [PATCH] Install cibuildwheel from requirements file So Renovate can update them all at the same time --- .ci/requirements-cibw.txt | 1 + .github/workflows/wheels.yml | 10 +++++++--- .travis.yml | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .ci/requirements-cibw.txt diff --git a/.ci/requirements-cibw.txt b/.ci/requirements-cibw.txt new file mode 100644 index 00000000000..dd61634cd31 --- /dev/null +++ b/.ci/requirements-cibw.txt @@ -0,0 +1 @@ +cibuildwheel==2.16.2 diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 8e73fe3750d..1b141b14fbf 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -52,10 +52,14 @@ jobs: with: submodules: true - - name: Build wheels - uses: pypa/cibuildwheel@v2.16.2 + - uses: actions/setup-python@v4 with: - output-dir: wheelhouse + python-version: "3.x" + + - name: Build wheels + run: | + python3 -m pip install -r .ci/requirements-cibw.txt + python3 -m cibuildwheel --output-dir wheelhouse env: CIBW_ARCHS: ${{ matrix.archs }} CIBW_BUILD: ${{ matrix.build }} diff --git a/.travis.yml b/.travis.yml index 25c76073cd2..4005dbcf036 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,7 @@ jobs: - CIBW_BUILD="*musllinux*" install: - - python3 -m pip install cibuildwheel==2.16.2 + - python3 -m pip install -r .ci/requirements-cibw.txt script: - python3 -m cibuildwheel --output-dir wheelhouse