Skip to content

Commit 8089fbc

Browse files
committed
Disable build isolation for cibuildwheel
1 parent 6f1b236 commit 8089fbc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,13 @@ jobs:
362362
- uses: pypa/[email protected]
363363
env:
364364
CIBW_BUILD: cp39-*
365-
CIBW_BEFORE_BUILD: pip install -e .
365+
CIBW_BEFORE_BUILD: pip install -U pip>=23.2.1 setuptools>=68.0.0 wheel>=0.41.1 -e .
366366
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
367367
CIBW_BUILD_VERBOSITY: 1
368+
CIBW_BUILD_FRONTEND: pip # pip allows disabling isolation via env var
369+
CIBW_ENVIRONMENT: PIP_NO_BUILD_ISOLATION=false
370+
# ^ -- necessary to use working copy of setuptools-rust,
371+
# (however PIP_NO_BUILD_ISOLATION is counter-intuitive: see pypa/pip#5735)
368372
with:
369373
package-dir: examples/namespace_package
370374

0 commit comments

Comments
 (0)