Skip to content

Commit

Permalink
Use absolute instead of relative imports for vendored modules
Browse files Browse the repository at this point in the history
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
  • Loading branch information
sethmlarson and uranusjr authored Jun 27, 2023
1 parent 85dc80e commit 157e322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pip/_internal/cli/req_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _create_truststore_ssl_context() -> Optional["SSLContext"]:
return None

try:
from ..._vendor import truststore
from pip._vendor import truststore
except ImportError:
raise CommandError(
"To use the truststore feature, 'truststore' must be installed into "
Expand Down

0 comments on commit 157e322

Please sign in to comment.