Skip to content

Commit ddb2b79

Browse files
committed
ci: GitHub Actions update for building wheels
1 parent c5fe59a commit ddb2b79

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/wheels.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
env:
1010
PIP_EXTRA_INDEX_URL: ${{vars.PIP_EXTRA_INDEX_URL}}
1111
UV_EXTRA_INDEX_URL: ${{vars.PIP_EXTRA_INDEX_URL}}
12+
UV_CONSTRAINT: "requirements-dev.txt"
1213
strategy:
1314
matrix:
1415
os: [
@@ -20,16 +21,16 @@ jobs:
2021
# Used to host cibuildwheel
2122
- uses: actions/setup-python@v3
2223
- name: Install cibuildwheel
23-
run: python -m pip install -r requirements/requirements-cibuildwheel.txt
24+
run: python -m pip install uv
2425

2526
- name: Build wheels
2627
if: contains(matrix.os, 'windows')
2728
shell: cmd
2829
run: |
2930
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
30-
python -m cibuildwheel --output-dir wheelhouse
31+
uvx cibuildwheel --output-dir wheelhouse
3132
env:
3233
CONAN_COMPILER_VERSION: ${{ matrix.compiler_version }}
3334
- name: Build wheels
3435
if: "!contains(matrix.os, 'windows')"
35-
run: python -m cibuildwheel --output-dir wheelhouse
36+
run: uvx cibuildwheel --output-dir wheelhouse

0 commit comments

Comments
 (0)