Skip to content

Commit 7a4a5d2

Browse files
committed
Add logs for abi3 wheel reuse
1 parent 41cf0b7 commit 7a4a5d2

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

cibuildwheel/linux.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ def build_on_docker(
179179

180180
abi3_wheel = find_compatible_abi3_wheel(built_wheels, config.identifier)
181181
if abi3_wheel:
182+
log.step_end()
183+
print(f"SKIP building wheel. Using previously built wheel {abi3_wheel}")
182184
repaired_wheels = [abi3_wheel]
183185
else:
184186

cibuildwheel/macos.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,8 @@ def build(options: Options, tmp_path: Path) -> None:
323323

324324
abi3_wheel = find_compatible_abi3_wheel(built_wheels, config.identifier)
325325
if abi3_wheel:
326+
log.step_end()
327+
print(f"SKIP building wheel. Using previously built wheel {abi3_wheel}")
326328
repaired_wheel = abi3_wheel
327329
else:
328330
if build_options.before_build:

cibuildwheel/windows.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,8 @@ def build(options: Options, tmp_path: Path) -> None:
279279

280280
abi3_wheel = find_compatible_abi3_wheel(built_wheels, config.identifier)
281281
if abi3_wheel:
282+
log.step_end()
283+
print(f"SKIP building wheel. Using previously built wheel {abi3_wheel}")
282284
repaired_wheel = abi3_wheel
283285
else:
284286
# run the before_build command

0 commit comments

Comments
 (0)