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 27, 2023
1 parent f9c7bd8 commit 792eed3
Show file tree
Hide file tree
Showing 4 changed files with 13 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
4 changes: 4 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"groupName": "github-actions",
"matchManagers": ["github-actions"],
"separateMajorMinor": "false"
},
{
"groupName": "requirements-cibw.txt",
"matchPaths": [".ci/requirements-cibw.txt"]
}
],
"schedule": ["on the 3rd day of the month"]
Expand Down
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/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 }}
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 792eed3

Please sign in to comment.