Avoid AttributeError when removing the setuptools-provided _distutils_hack and it is missing its implementation. ([#11314](https://github.com/pypa/pip/issues/11314) <https://github.com/pypa/pip/issues/11314>_)
Fix import error when reinstalling pip in user site. ([#11319](https://github.com/pypa/pip/issues/11319) <https://github.com/pypa/pip/issues/11319>_)
Show pip deprecation warnings by default. ([#11330](https://github.com/pypa/pip/issues/11330) <https://github.com/pypa/pip/issues/11330>_)
22.2.1 (2022-07-27)
Bug Fixes
Send the pip upgrade prompt to stderr. ([#11282](https://github.com/pypa/pip/issues/11282) <https://github.com/pypa/pip/issues/11282>_)
Ensure that things work correctly in environments where setuptools-injected
distutils is available by default. This is done by cooperating with
setuptools' injection logic to ensure that pip uses the distutils from the
Python standard library instead. ([#11298](https://github.com/pypa/pip/issues/11298) <https://github.com/pypa/pip/issues/11298>_)
Clarify that pip cache's wheels-related output is about locally built wheels only. ([#11300](https://github.com/pypa/pip/issues/11300) <https://github.com/pypa/pip/issues/11300>_)
22.2 (2022-07-21)
Deprecations and Removals
Remove the html5lib deprecated feature flag. ([#10825](https://github.com/pypa/pip/issues/10825) <https://github.com/pypa/pip/issues/10825>_)
Add support to use truststore <https://pypi.org/project/truststore/>_ as an
alternative SSL certificate verification backend. The backend can be enabled on Python
3.10 and later by installing truststore into the environment, and adding the
--use-feature=truststore flag to various pip commands.
truststore differs from the current default verification backend (provided by
certifi) in it uses the operating system’s trust store, which can be better
controlled and augmented to better support non-standard certificates. Depending on
feedback, pip may switch to this as the default certificate verification backend in
the future. ([#11082](https://github.com/pypa/pip/issues/11082) <https://github.com/pypa/pip/issues/11082>_)
Add --dry-run option to pip install, to let it print what it would install but
not actually change anything in the target environment. ([#11096](https://github.com/pypa/pip/issues/11096) <https://github.com/pypa/pip/issues/11096>_)
Record in wheel cache entries the URL of the original artifact that was downloaded
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 21.3 to 22.2.2.
Changelog
Sourced from pip's changelog.
... (truncated)
Commits
10902ac
Bump for release534e4d2
Update AUTHORS.txt96675e9
Do not parse JSON content with HTML parser4514d1f
Revert "PipDeprecationWarning subclass DeprecationWarning"1ac427b
Remove TODO450fd26
Import distutils only if needed, but sooner0c9eb96
Ensure that removing shim in older setuptools does not error61bdbe0
Bump for releasefcb0c84
Merge pull request #11298 from pradyunsg/remove-distutils-shima14f141
:newspaper: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)