File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,13 +22,16 @@ jobs:
2222 with :
2323 python-version : " 3.10"
2424
25+ - name : Install uv
26+ uses : astral-sh/setup-uv@v5
27+
2528 - name : Install cibuildwheel
26- run : pip install cibuildwheel==2.21.3
29+ run : uv pip install --system cibuildwheel==2.21.3
2730
2831 - name : Build wheels
2932 run : cibuildwheel --output-dir wheelhouse
3033 env :
31- CIBW_VENV_TOOL : venv
34+ CIBW_VENV_TOOL : uv
3235 CIBW_SKIP : " pp* *-musllinux*"
3336 CIBW_ARCHS_MACOS : " x86_64 arm64"
3437 CIBW_BEFORE_BUILD : " pip install pybind11"
@@ -43,10 +46,10 @@ jobs:
4346 runs-on : ubuntu-latest
4447 steps :
4548 - uses : actions/checkout@v4
46-
49+ - name : Install uv
50+ uses : astral-sh/setup-uv@v5
4751 - name : Build sdist
48- run : pipx run build --sdist
49-
52+ run : uvx --from build pyproject-build --sdist
5053 - uses : actions/upload-artifact@v4
5154 with :
5255 name : pip-sdist
6063 url : https://pypi.org/p/fuzzybunny
6164 permissions :
6265 id-token : write
63- contents : write # Required for creating GitHub Releases
66+ contents : write
6467
6568 steps :
6669 - uses : actions/download-artifact@v4
You can’t perform that action at this time.
0 commit comments