Install cibuildwheel from requirements file

So Renovate can update them all at the same time
This commit is contained in:
Hugo van Kemenade 2023-11-27 23:48:47 +02:00
parent f9c7bd8611
commit 106f3bcae7
3 changed files with 9 additions and 4 deletions

View File

@ -0,0 +1 @@
cibuildwheel==2.16.2

View File

@ -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 }}

View File

@ -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