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: with:
submodules: true submodules: true
- name: Build wheels - uses: actions/setup-python@v4
uses: pypa/cibuildwheel@v2.16.2
with: 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: env:
CIBW_ARCHS: ${{ matrix.archs }} CIBW_ARCHS: ${{ matrix.archs }}
CIBW_BUILD: ${{ matrix.build }} CIBW_BUILD: ${{ matrix.build }}

View File

@ -35,7 +35,7 @@ jobs:
- CIBW_BUILD="*musllinux*" - CIBW_BUILD="*musllinux*"
install: install:
- python3 -m pip install cibuildwheel==2.16.2 - python3 -m pip install -r .ci/requirements-cibw.txt
script: script:
- python3 -m cibuildwheel --output-dir wheelhouse - python3 -m cibuildwheel --output-dir wheelhouse