8000 Drag the wheel path object through `os.fsdecode` · python/cpython@bce6e3a · GitHub
[go: up one dir, main page]

Skip to content

Commit bce6e3a

Browse files
committed
Drag the wheel path object through os.fsdecode
1 parent 5c97cda commit bce6e3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/ensurepip/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def _bootstrap(*, root=None, upgrade=False, user=False,
172172
if verbosity:
173173
args += ["-" + "v" * verbosity]
174174

175-
return _run_pip([*args, "pip"], [str(tmp_wheel_path)])
175+
return _run_pip([*args, "pip"], [os.fsdecode(tmp_wheel_path)])
176176

177177

178178
def _uninstall_helper(*, verbosity=0):

0 commit comments

Comments
 (0)
0