Skip to content

Commit d3a3a75

Browse files
committed
Fix Windows CI: remove Unicode emojis from setup.py print statements
Windows cp1252 encoding cannot handle UTF-8 emojis, causing UnicodeEncodeError during cibuildwheel build.
1 parent 64d9df3 commit d3a3a75

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def force_mingw():
5454
]
5555
superlu_libraries = ["superlu", "openblas"]
5656
# Use MS_WIN64 to help pyconfig.h detect 64-bit correctly with MinGW.
57-
# Don't pass -DSIZEOF_VOID_P directly it conflicts with pyconfig.h's own definition.
57+
# Don't pass -DSIZEOF_VOID_P directly - it conflicts with pyconfig.h's own definition.
5858
import struct
5959
extra_compile_args = ["-O3"]
6060
if struct.calcsize("P") == 8:
@@ -330,9 +330,9 @@ def run(self):
330330
for ext in self.extensions:
331331
ext_path = self.get_ext_fullpath(ext.name)
332332
if os.path.exists(ext_path):
333-
print(f" {ext.name} successfully built at {ext_path}")
333+
print(f"[OK] {ext.name} successfully built at {ext_path}")
334334
else:
335-
print(f" {ext.name} FAILED TO BUILD (expected at {ext_path})")
335+
print(f"[FAIL] {ext.name} FAILED TO BUILD (expected at {ext_path})")
336336
print("=" * 80 + "\n")
337337

338338
# Get extension paths for all platforms

0 commit comments

Comments
 (0)