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
to build the cached wheels. The record is named origin.json and uses the PEP 610
Direct URL format. ([#11137](https://github.com/pypa/pip/issues/11137) <https://github.com/pypa/pip/issues/11137>_)
Support PEP 691 <https://peps.python.org/pep-0691/>. ([#11158](https://github.com/pypa/pip/issues/11158) <https://github.com/pypa/pip/issues/11158>)
pip's deprecation warnings now subclass the built-in DeprecationWarning, and
can be suppressed by running the Python interpreter with
-W ignore::DeprecationWarning. ([#11225](https://github.com/pypa/pip/issues/11225) <https://github.com/pypa/pip/issues/11225>_)
Add pip inspect command to obtain the list of installed distributions and other
information about the Python environment, in JSON format. ([#11245](https://github.com/pypa/pip/issues/11245) <https://github.com/pypa/pip/issues/11245>_)
Significantly speed up isolated environment creation, by using the same
sources for pip instead of creating a standalone installation for each
environment. ([#11257](https://github.com/pypa/pip/issues/11257) <https://github.com/pypa/pip/issues/11257>_)
Add an experimental --report option to the install command to generate a JSON report
of what was installed. In combination with --dry-run and --ignore-installed it
can be used to resolve the requirements. ([#53](https://github.com/pypa/pip/issues/53) <https://github.com/pypa/pip/issues/53>_)
Bug Fixes
Fix pip install --pre for packages with pre-release build dependencies defined
both in pyproject.toml's build-system.requires and setup.py's
setup_requires. ([#10222](https://github.com/pypa/pip/issues/10222) <https://github.com/pypa/pip/issues/10222>_)
When pip rewrites the shebang line in a script during wheel installation,
update the hash and size in the corresponding RECORD file entry. ([#10744](https://github.com/pypa/pip/issues/10744) <https://github.com/pypa/pip/issues/10744>_)
Do not consider a .dist-info directory found inside a wheel-like zip file
as metadata for an installed distribution. A package in a wheel is (by
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.2.3 to 22.2.
Changelog
Sourced from pip's changelog.
... (truncated)
Commits
8e7e76e
Bump for releaseb6f6a94
Update AUTHORS.txt790725a
Merge pull request #11274 from sbidoul/install-report-note-sbid4b9e18
Add clarifications to the installation report documentationb1a01ef
Merge pull request #11265 from finnagin/main48bcb0a
reformat to pass pre-commit checka7c1fe3
Remove utc fixture from tests0c574f7
Remove time import246fef1
Remove utc fixturec9cb7f4
Merge pull request #11270 from uranusjr/upgrade-pre-commit-hooksDependabot 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)