Skip to content

Commit 9a65b88

Browse files
sethmlarsonuranusjr
andcommitted
Use absolute instead of relative imports for vendored modules
Co-authored-by: Tzu-ping Chung <[email protected]>
1 parent 9ee4b8c commit 9a65b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pip/_internal/cli/req_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def _create_truststore_ssl_context() -> Optional["SSLContext"]:
5858
return None
5959

6060
try:
61-
from ..._vendor import truststore
61+
from pip._vendor import truststore
6262
except ImportError:
6363
raise CommandError(
6464
"To use the truststore feature, 'truststore' must be installed into "

0 commit comments

Comments
 (0)