mirror of https://github.com/pypa/pip
Merge pull request #11084 from pradyunsg/fix-release-changelog-generation
Run `towncrier build` instead of `towncrier`
This commit is contained in:
commit
e195f7bd3b
64
NEWS.rst
64
NEWS.rst
|
@ -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)
|
||||
===================
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Add option to install and uninstall commands to opt-out from running-as-root warning.
|
|
@ -1 +0,0 @@
|
|||
Fix conditional checks to prevent ``pip.exe`` from trying to modify itself, on Windows.
|
|
@ -1 +0,0 @@
|
|||
Replace the git protocol with https in tests.
|
|
@ -1 +0,0 @@
|
|||
Fix uninstall editable from Windows junction link.
|
|
@ -1,3 +0,0 @@
|
|||
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.
|
|
@ -1 +0,0 @@
|
|||
Fallback to pyproject.toml-based builds if ``setup.py`` is present in a project, but ``setuptools`` cannot be imported.
|
|
@ -1 +0,0 @@
|
|||
Include Project-URLs in ``pip show`` output.
|
|
@ -1,2 +0,0 @@
|
|||
Improve error message when ``pip config edit`` is provided an editor that
|
||||
doesn't exist.
|
|
@ -1,2 +0,0 @@
|
|||
When checking for conflicts in the build environment, correctly skip requirements
|
||||
containing markers that do not match the current environment.
|
|
@ -1 +0,0 @@
|
|||
Add more dedicated topic and reference pages to the documentation.
|
|
@ -1 +0,0 @@
|
|||
Capitalise Y as the default for "Proceed (y/n)?" when uninstalling.
|
|
@ -1 +0,0 @@
|
|||
Disable brotli import in vendored urllib3 so brotli could be uninstalled/upgraded by pip.
|
|
@ -1 +0,0 @@
|
|||
Add ``scheme://`` requirement to ``--proxy`` option's description
|
|
@ -1,2 +0,0 @@
|
|||
The wheel command now references the build interface section instead of stating the legacy
|
||||
setuptools behavior as the default.
|
|
@ -1 +0,0 @@
|
|||
Prioritize URL credentials over netrc.
|
|
@ -1 +0,0 @@
|
|||
Drop ``--use-deprecated=out-of-tree-build``, according to deprecation message.
|
|
@ -1 +0,0 @@
|
|||
Add a user interface for supplying config settings to build backends.
|
|
@ -1 +0,0 @@
|
|||
Improved usefulness of ``pip config --help`` output.
|
|
@ -1 +0,0 @@
|
|||
Update pre-commit hooks.
|
|
@ -1 +0,0 @@
|
|||
Replace ``Iterator[T]`` with ``Generator[T, None, None]``.
|
|
@ -1 +0,0 @@
|
|||
Update black==22.3.0.
|
|
@ -1 +0,0 @@
|
|||
Add support for Powershell autocompletion.
|
|
@ -1 +0,0 @@
|
|||
Filter available distributions using hash declarations from constraints files.
|
|
@ -1 +0,0 @@
|
|||
Fix an error when trying to uninstall packages installed as editable from a network drive.
|
|
@ -1 +0,0 @@
|
|||
Explains why specified version cannot be retrieved when *Requires-Python* is not satisfied.
|
|
@ -1 +0,0 @@
|
|||
Fix pip install issues using a proxy due to an inconsistency in how Requests is currently handling variable precedence in session.
|
|
@ -1 +0,0 @@
|
|||
Validate build dependencies when using ``--no-build-isolation``.
|
|
@ -1 +0,0 @@
|
|||
Upgrade CacheControl to 0.12.11
|
|
@ -1 +0,0 @@
|
|||
Upgrade distro to 1.7.0
|
|
@ -1 +0,0 @@
|
|||
Upgrade platformdirs to 2.5.2
|
|
@ -1 +0,0 @@
|
|||
Remove ``progress`` from vendored dependencies.
|
|
@ -1 +0,0 @@
|
|||
Upgrade ``pyparsing`` to 3.0.8 for startup performance improvements.
|
|
@ -1 +0,0 @@
|
|||
Upgrade rich to 12.2.0
|
|
@ -1 +0,0 @@
|
|||
Upgrade tomli to 2.0.1
|
|
@ -1 +0,0 @@
|
|||
Upgrade typing_extensions to 4.2.0
|
|
@ -85,7 +85,7 @@ def commit_file(session: Session, filename: str, *, message: str) -> None:
|
|||
|
||||
def generate_news(session: Session, version: str) -> None:
|
||||
session.install("towncrier")
|
||||
session.run("towncrier", "--yes", "--version", version, silent=True)
|
||||
session.run("towncrier", "build", "--yes", "--version", version, silent=True)
|
||||
|
||||
|
||||
def update_version_file(version: str, filepath: str) -> None:
|
||||
|
|
Loading…
Reference in New Issue