Sourced from pip's changelog.
22.1 (2022-05-11)
Process
- Enable the
importlib.metadata
metadata implementation by default on Python 3.11 (or later). The environment variable_PIP_USE_IMPORTLIB_METADATA
can still be used to enable the implementation on 3.10 and earlier, or disable it on 3.11 (by setting it to0
orfalse
).Bug Fixes
- Revert
[#9243](https://github.com/pypa/pip/issues/9243) <https://github.com/pypa/pip/issues/9243>
_ since it introduced a regression in certain edge cases. ([#10962](https://github.com/pypa/pip/issues/10962) <https://github.com/pypa/pip/issues/10962>
_)- Fix missing
REQUESTED
metadata when using URL constraints. ([#11079](https://github.com/pypa/pip/issues/11079) <https://github.com/pypa/pip/issues/11079>
_)pip config
now normalizes names by converting underscores into dashes. ([#9330](https://github.com/pypa/pip/issues/9330) <https://github.com/pypa/pip/issues/9330>
_)22.1b1 (2022-04-30)
Process
- Start migration of distribution metadata implementation from
pkg_resources
toimportlib.metadata
. The new implementation is currently not exposed in any user-facing way, but included in the code base for easier development.Deprecations and Removals
- Drop
--use-deprecated=out-of-tree-build
, according to deprecation message. ([#11001](https://github.com/pypa/pip/issues/11001) <https://github.com/pypa/pip/issues/11001>
_)Features
- Add option to install and uninstall commands to opt-out from running-as-root warning. (
[#10556](https://github.com/pypa/pip/issues/10556) <https://github.com/pypa/pip/issues/10556>
_)- Include Project-URLs in
pip show
output. ([#10799](https://github.com/pypa/pip/issues/10799) <https://github.com/pypa/pip/issues/10799>
_)- Improve error message when
pip config edit
is provided an editor that doesn't exist. ([#10812](https://github.com/pypa/pip/issues/10812) <https://github.com/pypa/pip/issues/10812>
_)- Add a user interface for supplying config settings to build backends. (
[#11059](https://github.com/pypa/pip/issues/11059) <https://github.com/pypa/pip/issues/11059>
_)- Add support for Powershell autocompletion. (
[#9024](https://github.com/pypa/pip/issues/9024) <https://github.com/pypa/pip/issues/9024>
_)- Explains why specified version cannot be retrieved when Requires-Python is not satisfied. (
[#9615](https://github.com/pypa/pip/issues/9615) <https://github.com/pypa/pip/issues/9615>
_)- Validate build dependencies when using
--no-build-isolation
. ([#9794](https://github.com/pypa/pip/issues/9794) <https://github.com/pypa/pip/issues/9794>
_)Bug Fixes
- Fix conditional checks to prevent
pip.exe
from trying to modify itself, on Windows. ([#10560](https://github.com/pypa/pip/issues/10560) <https://github.com/pypa/pip/issues/10560>
_)
... (truncated)
3c95332
Bump for releasebd54382
Update AUTHORS.txtc86f9f1
Merge pull request #11044 from uranusjr/importlib-metadata-backend-in-3.11bd9bcef
Enable importlib.metadata backend on Python 3.11cb24fb4
Merge pull request #11085 from pypa/revert-10962-fix-hashes6ad9a21
:newspaper:cf3696a
Merge pull request #11080 from sbidoul/requested-with-constraintsbab5bfc
Merge pull request #11073 from wimglenn/issue-9330ae1c2e3
Grammar fix in changelog8d51b83
Merge pull request #11087 from mkniewallner/fix-version-changelog