Skip to content

[Manylinux_2_28] Modify relocate script for linux builds: fix wheel_name #9024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packaging/wheel/relocate.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,8 @@ def patch_linux():
if osp.exists(osp.join(output_library, binary)):
relocate_elf_library(patchelf, output_dir, output_library, binary)

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


Expand Down