Update NEWS for 21.1b1

上级 b881c2ae
......@@ -9,6 +9,70 @@
.. towncrier release notes start
21.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>`_)
Features
--------
- Add option to install and uninstall commands to opt-out from running-as-root warning. (`#10556 <https://github.com/pypa/pip/issues/10556>`_)
- Include Project-URLs in ``pip show`` output. (`#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>`_)
- Add a user interface for supplying config settings to build backends. (`#11059 <https://github.com/pypa/pip/issues/11059>`_)
- Add support for Powershell autocompletion. (`#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>`_)
- Validate build dependencies when using ``--no-build-isolation``. (`#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>`_)
- Fix uninstall editable from Windows junction link. (`#10696 <https://github.com/pypa/pip/issues/10696>`_)
- Fallback to pyproject.toml-based builds if ``setup.py`` is present in a project, but ``setuptools`` cannot be imported. (`#10717 <https://github.com/pypa/pip/issues/10717>`_)
- When checking for conflicts in the build environment, correctly skip requirements
containing markers that do not match the current environment. (`#10883 <https://github.com/pypa/pip/issues/10883>`_)
- Disable brotli import in vendored urllib3 so brotli could be uninstalled/upgraded by pip. (`#10950 <https://github.com/pypa/pip/issues/10950>`_)
- Prioritize URL credentials over netrc. (`#10979 <https://github.com/pypa/pip/issues/10979>`_)
- Filter available distributions using hash declarations from constraints files. (`#9243 <https://github.com/pypa/pip/issues/9243>`_)
- Fix an error when trying to uninstall packages installed as editable from a network drive. (`#9452 <https://github.com/pypa/pip/issues/9452>`_)
- Fix pip install issues using a proxy due to an inconsistency in how Requests is currently handling variable precedence in session. (`#9691 <https://github.com/pypa/pip/issues/9691>`_)
Vendored Libraries
------------------
- Upgrade CacheControl to 0.12.11
- Upgrade distro to 1.7.0
- Upgrade platformdirs to 2.5.2
- Remove ``progress`` from vendored dependencies.
- Upgrade ``pyparsing`` to 3.0.8 for startup performance improvements.
- Upgrade rich to 12.2.0
- Upgrade tomli to 2.0.1
- Upgrade typing_extensions to 4.2.0
Improved Documentation
----------------------
- Add more dedicated topic and reference pages to the documentation. (`#10899 <https://github.com/pypa/pip/issues/10899>`_)
- Capitalise Y as the default for "Proceed (y/n)?" when uninstalling. (`#10936 <https://github.com/pypa/pip/issues/10936>`_)
- Add ``scheme://`` requirement to ``--proxy`` option's description (`#10951 <https://github.com/pypa/pip/issues/10951>`_)
- The wheel command now references the build interface section instead of stating the legacy
setuptools behavior as the default. (`#10972 <https://github.com/pypa/pip/issues/10972>`_)
- Improved usefulness of ``pip config --help`` output. (`#11074 <https://github.com/pypa/pip/issues/11074>`_)
22.0.4 (2022-03-06)
===================
......
Add option to install and uninstall commands to opt-out from running-as-root warning.
Fix conditional checks to prevent ``pip.exe`` from trying to modify itself, on Windows.
Replace the git protocol with https in tests.
Fix uninstall editable from Windows junction link.
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.
Fallback to pyproject.toml-based builds if ``setup.py`` is present in a project, but ``setuptools`` cannot be imported.
Include Project-URLs in ``pip show`` output.
Improve error message when ``pip config edit`` is provided an editor that
doesn't exist.
When checking for conflicts in the build environment, correctly skip requirements
containing markers that do not match the current environment.
Add more dedicated topic and reference pages to the documentation.
Capitalise Y as the default for "Proceed (y/n)?" when uninstalling.
Disable brotli import in vendored urllib3 so brotli could be uninstalled/upgraded by pip.
Add ``scheme://`` requirement to ``--proxy`` option's description
The wheel command now references the build interface section instead of stating the legacy
setuptools behavior as the default.
Prioritize URL credentials over netrc.
Drop ``--use-deprecated=out-of-tree-build``, according to deprecation message.
Add a user interface for supplying config settings to build backends.
Improved usefulness of ``pip config --help`` output.
Replace ``Iterator[T]`` with ``Generator[T, None, None]``.
Add support for Powershell autocompletion.
Filter available distributions using hash declarations from constraints files.
Fix an error when trying to uninstall packages installed as editable from a network drive.
Explains why specified version cannot be retrieved when *Requires-Python* is not satisfied.
Fix pip install issues using a proxy due to an inconsistency in how Requests is currently handling variable precedence in session.
Validate build dependencies when using ``--no-build-isolation``.
Upgrade CacheControl to 0.12.11
Upgrade platformdirs to 2.5.2
Remove ``progress`` from vendored dependencies.
Upgrade ``pyparsing`` to 3.0.8 for startup performance improvements.
Upgrade typing_extensions to 4.2.0
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册