Disable PEP 658 metadata fetching with the legacy resolver. ([#12156](https://github.com/pypa/pip/issues/12156) <https://github.com/pypa/pip/issues/12156>_)
23.2 (2023-07-15)
Process
Deprecate support for eggs for Python 3.11 or later, when the new importlib.metadata backend is used to load distribution metadata. This only affects the egg distribution format (with the .egg extension); distributions using the .egg-infometadata format (but are not actually eggs) are not affected. For more information about eggs, see relevant section in the setuptools documentation <https://setuptools.pypa.io/en/stable/deprecated/python_eggs.html>__.
Deprecations and Removals
Deprecate legacy version and version specifiers that don't conform to PEP 440 <https://peps.python.org/pep-0440/>_ ([#12063](https://github.com/pypa/pip/issues/12063) <https://github.com/pypa/pip/issues/12063>_)
freeze no longer excludes the setuptools, distribute, and wheel
from the output when running on Python 3.12 or later, where they are not
included in a virtual environment by default. Use --exclude if you wish to
exclude any of these packages. ([#4256](https://github.com/pypa/pip/issues/4256) <https://github.com/pypa/pip/issues/4256>_)
Features
make rejection messages slightly different between 1 and 8, so the user can make the difference. ([#12040](https://github.com/pypa/pip/issues/12040) <https://github.com/pypa/pip/issues/12040>_)
Prevent downloading files twice when PEP 658 metadata is present ([#11847](https://github.com/pypa/pip/issues/11847) <https://github.com/pypa/pip/issues/11847>_)
Add permission check before configuration ([#11920](https://github.com/pypa/pip/issues/11920) <https://github.com/pypa/pip/issues/11920>_)
Fix deprecation warnings in Python 3.12 for usage of shutil.rmtree ([#11957](https://github.com/pypa/pip/issues/11957) <https://github.com/pypa/pip/issues/11957>_)
Ignore invalid or unreadable origin.json files in the cache of locally built wheels. ([#11985](https://github.com/pypa/pip/issues/11985) <https://github.com/pypa/pip/issues/11985>_)
Fix installation of packages with PEP658 metadata using non-canonicalized names ([#12038](https://github.com/pypa/pip/issues/12038) <https://github.com/pypa/pip/issues/12038>_)
Correctly parse dist-info-metadata values from JSON-format index data. ([#12042](https://github.com/pypa/pip/issues/12042) <https://github.com/pypa/pip/issues/12042>_)
Fail with an error if the --python option is specified after the subcommand name. ([#12067](https://github.com/pypa/pip/issues/12067) <https://github.com/pypa/pip/issues/12067>_)
Fix slowness when using importlib.metadata (the default way for pip to read metadata in Python 3.11+) and there is a large overlap between already installed and to-be-installed packages. ([#12079](https://github.com/pypa/pip/issues/12079) <https://github.com/pypa/pip/issues/12079>_)
Pass the -r flag to mercurial to be explicit that a revision is passed and protect
against hg options injection as part of VCS URLs. Users that do not have control on
VCS URLs passed to pip are advised to upgrade. ([#12119](https://github.com/pypa/pip/issues/12119) <https://github.com/pypa/pip/issues/12119>_)
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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 23.1.2 to 23.2.1.
Changelog
Sourced from pip's changelog.
... (truncated)
Commits
4a79e65
Bump for release81a0711
Update AUTHORS.txt1d4674c
Merge pull request #12163 from pfmoore/fix_1215639aa7ed
Fix a direct creation of RequirementPreparer in the testsc12139d
Disable PEP 658 for the legacy resolver593b85f
Use strict optional checking in misc.py (#11382)b252ad8
Merge pull request #12148 from mtreinish/patch-12681425
Correct typo in 23.2 Changelog Bug Fixes1d5b120
Merge pull request #12145 from pfmoore/release/23.2b6a2670
Bump for developmentDependabot 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 show