Skip to content

Commit f20bf22

Browse files
authored
[Manylinux_2_28] Modify relocate script for linux builds: fix wheel_name (#9024)
1 parent f799a53 commit f20bf22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packaging/wheel/relocate.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,8 @@ def patch_linux():
337337
if osp.exists(osp.join(output_library, binary)):
338338
relocate_elf_library(patchelf, output_dir, output_library, binary)
339339

340+
# make sure wheel name is compatible with manylinux_2_28
341+
wheel_name = wheel_name.replace("linux_", "manylinux_2_28_")
340342
compress_wheel(output_dir, wheel, wheel_dir, wheel_name)
341343

342344

0 commit comments

Comments
 (0)