diff --git a/packaging/wheel/relocate.py b/packaging/wheel/relocate.py index 4587f3798da..98b75643a9d 100644 --- a/packaging/wheel/relocate.py +++ b/packaging/wheel/relocate.py @@ -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)