Skip to content

Commit 900a3ac

Browse files
committed
Try to simplify cibuildwheel / uv interaction
1 parent 99d7acf commit 900a3ac

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/wheels.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ env:
99
librepo: polyline-ffi
1010
rustlib: polylineffi
1111
wheelname: pypolyline
12-
CIBW_BUILD_FRONTEND: build[uv]
1312

1413
on: [push, pull_request]
1514

@@ -87,7 +86,7 @@ jobs:
8786
shell: bash
8887

8988
- id: get-rust-lib
90-
uses: robinraju/release-downloader@v1.11
89+
uses: robinraju/release-downloader@v1
9190
name: Download latest Rust lib release
9291
with:
9392
token: ${{ secrets.POLYLINE_RETRIEVAL }}
@@ -103,9 +102,13 @@ jobs:
103102
git status
104103
shell: bash
105104

105+
- name: Install cibuildwheel
106+
run: python -m pip install cibuildwheel[uv]==2.23.0
107+
106108
- name: Build and Test Wheels
107-
uses: pypa/cibuildwheel@v2.23.0
109+
run: python -m cibuildwheel --output-dir wheelhouse
108110
env:
111+
CIBW_BUILD_FRONTEND: build[uv]
109112
CIBW_TEST_REQUIRES: pytest
110113
CIBW_TEST_COMMAND: 'pytest {package}'
111114
CIBW_BUILD: ${{ matrix.pybuilds }}
@@ -189,7 +192,7 @@ jobs:
189192
token: ${{ secrets.GITHUB_TOKEN }}
190193

191194
- name: PyPI Publish
192-
uses: pypa/gh-action-pypi-publish@v1.12.4
195+
uses: pypa/gh-action-pypi-publish@v1
193196
with:
194197
packages-dir: ${{ steps.download.outputs.download-path }}
195198

0 commit comments

Comments
 (0)