Skip to content

Commit

Permalink
Install cibuildwheel from requirements file
Browse files Browse the repository at this point in the history
So Renovate can update them all at the same time
  • Loading branch information
hugovk committed Nov 28, 2023
1 parent f9c7bd8 commit 106f3bc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions .ci/requirements-cibw.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cibuildwheel==2.16.2
10 changes: 7 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,14 @@ jobs:
with:
submodules: true

- name: Build wheels
uses: pypa/[email protected]
- 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 }}
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 106f3bc

Please sign in to comment.