Skip to content

Commit 50f468b

Browse files
committed
ci: install setuptools explicitly
1 parent 417a7a3 commit 50f468b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Build wheels (manylinux)
3333
uses: pypa/cibuildwheel@v2.17.0
3434
env:
35-
CIBW_BEFORE_BUILD: "yum install -y flex bison libxml2-devel zlib-devel cairo-devel && pip install -U cmake pip wheel && python setup.py build_c_core"
35+
CIBW_BEFORE_BUILD: "yum install -y flex bison libxml2-devel zlib-devel cairo-devel && pip install -U cmake pip setuptools wheel && python setup.py build_c_core"
3636
CIBW_BUILD: "*-manylinux_${{ matrix.wheel_arch }}"
3737
# Skip tests for Python 3.10 onwards because SciPy does not have
3838
# 32-bit wheels for Linux
@@ -41,7 +41,7 @@ jobs:
4141
- name: Build wheels (musllinux)
4242
uses: pypa/cibuildwheel@v2.17.0
4343
env:
44-
CIBW_BEFORE_BUILD: "apk add flex bison libxml2-dev zlib-dev cairo-dev && pip install -U cmake pip wheel && python setup.py build_c_core"
44+
CIBW_BEFORE_BUILD: "apk add flex bison libxml2-dev zlib-dev cairo-dev && pip install -U cmake pip setuptools wheel && python setup.py build_c_core"
4545
CIBW_BUILD: "*-musllinux_${{ matrix.wheel_arch }}"
4646
CIBW_TEST_COMMAND: "cd {project} && pip install --prefer-binary '.[test-musl]' && python -m pytest -v tests"
4747

@@ -66,7 +66,7 @@ jobs:
6666
- name: Build wheels (manylinux)
6767
uses: pypa/cibuildwheel@v2.17.0
6868
env:
69-
CIBW_BEFORE_BUILD: "yum install -y flex bison libxml2-devel zlib-devel cairo-devel && pip install -U cmake pip wheel && python setup.py build_c_core"
69+
CIBW_BEFORE_BUILD: "yum install -y flex bison libxml2-devel zlib-devel cairo-devel && pip install -U cmake pip setuptools wheel && python setup.py build_c_core"
7070
CIBW_ARCHS_LINUX: aarch64
7171
CIBW_BUILD: "*-manylinux_aarch64"
7272

@@ -91,7 +91,7 @@ jobs:
9191
- name: Build wheels (musllinux)
9292
uses: pypa/cibuildwheel@v2.17.0
9393
env:
94-
CIBW_BEFORE_BUILD: "apk add flex bison libxml2-dev zlib-dev cairo-dev && pip install -U cmake pip wheel && python setup.py build_c_core"
94+
CIBW_BEFORE_BUILD: "apk add flex bison libxml2-dev zlib-dev cairo-dev && pip install -U cmake pip setuptools wheel && python setup.py build_c_core"
9595
CIBW_ARCHS_LINUX: aarch64
9696
CIBW_BUILD: "*-musllinux_aarch64"
9797
CIBW_TEST_COMMAND: "cd {project} && pip install --prefer-binary '.[test-musl]' && python -m pytest -v tests"

0 commit comments

Comments
 (0)