Skip to content

Commit c9dcdbf

Browse files
authored
Merge pull request #365 from abravalheri/update-tests
CI maintenance.
2 parents 67946fa + 6f8aa1a commit c9dcdbf

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -312,18 +312,16 @@ jobs:
312312
- uses: dtolnay/rust-toolchain@stable
313313
with:
314314
targets: aarch64-apple-darwin
315-
- uses: pypa/cibuildwheel@v2.3.1
315+
- uses: pypa/cibuildwheel@v2.16.2
316316
env:
317317
CIBW_BUILD: cp39-*
318-
CIBW_BEFORE_BUILD: pip install -U 'pip>=23.2.1' 'setuptools>=68.0.0' 'wheel<=0.37.1' && pip install -e . && pip list
319-
# ^-- cap on `wheel` is a workaround for pypa/auditwheel#436
320-
# setuptools needs to be upgraded before installing setuptools-rust
318+
CIBW_BEFORE_BUILD: >
319+
pip install -U 'pip>=23.2.1' 'setuptools>=68.0.0' 'wheel>=0.41.2' 'auditwheel>=5.4.0'
320+
&& pip install -e .
321+
&& pip list
321322
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
322323
CIBW_BUILD_VERBOSITY: 3
323-
CIBW_BUILD_FRONTEND: pip # pip allows disabling isolation via env var
324-
CIBW_ENVIRONMENT: PIP_NO_BUILD_ISOLATION=false
325-
# ^-- necessary to use working copy of setuptools-rust,
326-
# (however PIP_NO_BUILD_ISOLATION is counter-intuitive: see pypa/pip#5735)
324+
CIBW_BUILD_FRONTEND: "build; args: --no-isolation"
327325
with:
328326
package-dir: examples/namespace_package
329327

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def chdir(path: Path):
174174
session.install("--no-build-isolation", str(examples / "html-py-ever"))
175175
session.run("pytest", str(examples / "html-py-ever"))
176176

177-
session.install("pytest", "cffi")
177+
session.install("pytest", "cffi<1.16")
178178
session.install("--no-build-isolation", str(examples / "html-py-ever"))
179179
session.run("pytest", str(examples / "html-py-ever"))
180180

0 commit comments

Comments
 (0)