Skip to content

Commit

Permalink
Fix obsolete wheel usage in addtag
Browse files Browse the repository at this point in the history
We upgraded to wheel 0.34.1 and the API is slightly different. The
addtag command was not updated for the change.
  • Loading branch information
lkollar committed Jan 30, 2020
1 parent e6ee18d commit b9da240
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auditwheel/main_addtag.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ def configure_parser(sub_parsers):

def execute(args, p):
import os
from wheel.install import WHEEL_INFO_RE # type: ignore
from wheel.wheelfile import WHEEL_INFO_RE # type: ignore
from .wheeltools import InWheelCtx, add_platforms, WheelToolsError
from .wheel_abi import analyze_wheel_abi

wheel_abi = analyze_wheel_abi(args.WHEEL_FILE)

parsed_fname = WHEEL_INFO_RE(basename(args.WHEEL_FILE))
parsed_fname = WHEEL_INFO_RE.search(basename(args.WHEEL_FILE))
in_fname_tags = parsed_fname.groupdict()['plat'].split('.')

logger.info('%s receives the following tag: "%s".',
Expand Down

0 comments on commit b9da240

Please sign in to comment.