Skip to content

Commit 697c24b

Browse files
authored
Merge pull request #7581 from hugovk/requirements-cibw
Install cibuildwheel from requirements file
2 parents a1d2297 + 106f3bc commit 697c24b

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.ci/requirements-cibw.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cibuildwheel==2.16.2

.github/workflows/wheels.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,14 @@ jobs:
5252
with:
5353
submodules: true
5454

55-
- name: Build wheels
56-
uses: pypa/[email protected]
55+
- uses: actions/setup-python@v4
5756
with:
58-
output-dir: wheelhouse
57+
python-version: "3.x"
58+
59+
- name: Build wheels
60+
run: |
61+
python3 -m pip install -r .ci/requirements-cibw.txt
62+
python3 -m cibuildwheel --output-dir wheelhouse
5963
env:
6064
CIBW_ARCHS: ${{ matrix.archs }}
6165
CIBW_BUILD: ${{ matrix.build }}

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- CIBW_BUILD="*musllinux*"
3636

3737
install:
38-
- python3 -m pip install cibuildwheel==2.16.2
38+
- python3 -m pip install -r .ci/requirements-cibw.txt
3939

4040
script:
4141
- python3 -m cibuildwheel --output-dir wheelhouse

0 commit comments

Comments
 (0)