Skip to content

Commit f675874

Browse files
committed
Reword news entry
1 parent 393c2e5 commit f675874

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

news/5021.bugfix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Package name should be normalized before we use it to search if it's already installed or not
1+
Use canonical package names while looking up already installed packages.

src/pip/_internal/commands/search.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
from pip._internal.network.xmlrpc import PipXmlrpcTransport
2020
from pip._internal.utils.compat import get_terminal_size
2121
from pip._internal.utils.logging import indent_log
22-
2322
from pip._internal.utils.misc import get_distribution, write_output
2423
from pip._internal.utils.typing import MYPY_CHECK_RUNNING
2524

@@ -32,7 +31,6 @@
3231
{'name': str, 'summary': str, 'versions': List[str]},
3332
)
3433

35-
3634
logger = logging.getLogger(__name__)
3735

3836

src/pip/_internal/req/req_install.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,6 @@ def check_if_exists(self, use_user_site):
429429
"""
430430
if self.req is None:
431431
return
432-
433432
# get_distribution() will resolve the entire list of requirements
434433
# anyway, and we've already determined that we need the requirement
435434
# in question, so strip the marker so that we don't try to

0 commit comments

Comments
 (0)