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 to 0 or false).
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
to importlib.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>_)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pip from 22.0.4 to 22.1.
Changelog
Sourced from pip's changelog.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)