Skip to content

Commit 6a703bc

Browse files
committed
Simplify publish workflow to use standard tools and bypass all rate-limited downloads
1 parent 5d67499 commit 6a703bc

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,14 @@ jobs:
2222
with:
2323
python-version: "3.10"
2424

25-
- name: Install uv
26-
uses: astral-sh/setup-uv@v5
27-
2825
- name: Install cibuildwheel
29-
run: uv pip install --system cibuildwheel==2.21.3
26+
run: pip install cibuildwheel==2.21.3
3027

3128
- name: Build wheels
3229
run: cibuildwheel --output-dir wheelhouse
3330
env:
34-
CIBW_VENV_TOOL: uv
31+
CIBW_VENV_TOOL: venv
32+
CIBW_VIRTUALENV_VERSION: ""
3533
CIBW_SKIP: "pp* *-musllinux*"
3634
CIBW_ARCHS_MACOS: "x86_64 arm64"
3735
CIBW_BEFORE_BUILD: "pip install pybind11"
@@ -46,10 +44,14 @@ jobs:
4644
runs-on: ubuntu-latest
4745
steps:
4846
- uses: actions/checkout@v4
49-
- name: Install uv
50-
uses: astral-sh/setup-uv@v5
47+
- name: Set up Python
48+
uses: actions/setup-python@v5
49+
with:
50+
python-version: "3.10"
5151
- name: Build sdist
52-
run: uvx --from build pyproject-build --sdist
52+
run: |
53+
pip install build
54+
python -m build --sdist
5355
- uses: actions/upload-artifact@v4
5456
with:
5557
name: pip-sdist

0 commit comments

Comments
 (0)