Use vistir path normalization for shortened windows paths

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
This commit is contained in:
Dan Ryan
2020-04-03 16:30:01 -04:00
parent d91a9d4fa6
commit c1061bd0a2
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1469,7 +1469,7 @@ def pip_install(
)
pip_command.extend(pip_args)
if r:
pip_command.extend(["-r", r])
pip_command.extend(["-r", vistir.path.normalize_path(r)])
elif line:
pip_command.extend(line)
pip_command.extend(prepare_pip_source_args(sources))
+2 -2
View File
@@ -8,8 +8,8 @@ import pytest
from pipenv.patched import pipfile
from pipenv.project import Project
from pipenv.utils import temp_environ, normalize_path
from pipenv.vendor.vistir.path import is_in_path
from pipenv.utils import temp_environ
from pipenv.vendor.vistir.path import is_in_path, normalize_path
from pipenv.vendor.delegator import run as delegator_run