-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove pkg_resources usages from 'pip freeze'
- Loading branch information
Showing
3 changed files
with
77 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
``pip list`` and ``pip show`` no longer normalize underscore (``_``) in | ||
distribution names to dash (``-``). This is done as a part of the refactoring to | ||
prepare for the migration to ``importlib.metadata``. | ||
``pip freeze``, ``pip list``, and ``pip show`` no longer normalize underscore | ||
(``_``) in distribution names to dash (``-``). This is a side effect of the | ||
migration to ``importlib.metadata``, since the underscore-dash normalization | ||
behavior is non-standard and specific to setuptools. This should not affect | ||
other parts of pip (for example, when feeding the ``pip freeze`` result back | ||
into ``pip install``) since pip internally performs standard PEP 503 | ||
normalization independently to setuptools. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters