Revert [#10979](https://github.com/pypa/pip/issues/10979) <https://github.com/pypa/pip/issues/10979>_ since it introduced a regression in certain edge cases. ([#10979](https://github.com/pypa/pip/issues/10979) <https://github.com/pypa/pip/issues/10979>_)
Fix an incorrect assertion in the logging logic, that prevented the upgrade prompt from being presented. ([#11136](https://github.com/pypa/pip/issues/11136) <https://github.com/pypa/pip/issues/11136>_)
22.1.1 (2022-05-20)
Bug Fixes
Properly filter out optional dependencies (i.e. extras) when checking build environment distributions. ([#11112](https://github.com/pypa/pip/issues/11112) <https://github.com/pypa/pip/issues/11112>_)
Change the build environment dependency checking to be opt-in. ([#11116](https://github.com/pypa/pip/issues/11116) <https://github.com/pypa/pip/issues/11116>_)
Allow using a pre-release version to satisfy a build requirement. This helps
manually populated build environments to more accurately detect build-time
requirement conflicts. ([#11123](https://github.com/pypa/pip/issues/11123) <https://github.com/pypa/pip/issues/11123>_)
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 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
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.4 to 22.1.2.
Changelog
Sourced from pip's changelog.
... (truncated)
Commits
5f12c59
Bump for release70c9b36
Merge pull request #11134 from q0w/revert-10998-handle-netrc0799cea
Merge pull request #11136 from pradyunsg/fix-upgrade-promptca2d9f4
Bump for releasef20ab57
Merge pull request #11124 from uranusjr/use-contain-for-checkingf7c05a5
Allow pre-release to satisfy build requirements30af807
Merge pull request #11117 from q0w/opt-check923cb5a
Merge pull request #11119 from pradyunsg/move-add_requirement-to-legacy-resolverd673aa1
MoveRequirementSet.add_requirement
intoLegacyResolver
3166157
Opt to check build dependenciesDependabot 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)