Skip to content

Commit a71e231

Browse files
committed
Add workaround for auditwheel
1 parent 9af28b5 commit a71e231

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,13 +362,15 @@ jobs:
362362
- uses: pypa/[email protected]
363363
env:
364364
CIBW_BUILD: cp39-*
365-
CIBW_BEFORE_BUILD: pip install -U pip>=23.2.1 setuptools>=68.0.0 wheel>=0.41.1 && pip install -e . && pip list
365+
CIBW_BEFORE_BUILD: pip install -U 'pip>=23.2.1' 'setuptools>=68.0.0' 'wheel<=0.37.1' && pip install -e . && pip list
366+
# ^-- cap on `wheel` is a workaround for pypa/auditwheel#436
367+
# setuptools needs to be upgraded before installing setuptools-rust
366368
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
367369
CIBW_BUILD_VERBOSITY: 3
368370
CIBW_BUILD_FRONTEND: pip # pip allows disabling isolation via env var
369371
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)
372+
# ^-- necessary to use working copy of setuptools-rust,
373+
# (however PIP_NO_BUILD_ISOLATION is counter-intuitive: see pypa/pip#5735)
372374
with:
373375
package-dir: examples/namespace_package
374376

0 commit comments

Comments
 (0)