Skip to content
Draft
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
11 changes: 8 additions & 3 deletions src/auditwheel/main_repair.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,15 @@ def execute(args, p):

if reqd_tag > get_priority_by_name(wheel_abi.sym_tag):
msg = (
'cannot repair "%s" to "%s" ABI because of the presence '
"of too-recent versioned symbols. You'll need to compile "
"the wheel on an older toolchain." % (wheel_file, args.PLAT)
f'cannot repair "{wheel_file}" to "{args.PLAT}" ABI because of '
"the presence of too-recent versioned symbols. You'll need "
"to compile the wheel on an older toolchain. "
)
if reqd_tag != 0:
msg += (
"At the moment this wheel is compliant with the "
f'"{wheel_abi.sym_tag}" platform tag.'
)
p.error(msg)

if reqd_tag > get_priority_by_name(wheel_abi.ucs_tag):
Expand Down