Skip to content

Commit e195f7b

Browse files
authored
Merge pull request #11084 from pradyunsg/fix-release-changelog-generation
Run `towncrier build` instead of `towncrier`
2 parents f51d471 + d0b83d1 commit e195f7b

38 files changed

+65
-41
lines changed

NEWS.rst

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,70 @@
99
1010
.. towncrier release notes start
1111
12+
21.1b1 (2022-04-30)
13+
===================
14+
15+
Process
16+
-------
17+
18+
- Start migration of distribution metadata implementation from ``pkg_resources``
19+
to ``importlib.metadata``. The new implementation is currently not exposed in
20+
any user-facing way, but included in the code base for easier development.
21+
22+
Deprecations and Removals
23+
-------------------------
24+
25+
- Drop ``--use-deprecated=out-of-tree-build``, according to deprecation message. (`#11001 <https://github.com/pypa/pip/issues/11001>`_)
26+
27+
Features
28+
--------
29+
30+
- Add option to install and uninstall commands to opt-out from running-as-root warning. (`#10556 <https://github.com/pypa/pip/issues/10556>`_)
31+
- Include Project-URLs in ``pip show`` output. (`#10799 <https://github.com/pypa/pip/issues/10799>`_)
32+
- Improve error message when ``pip config edit`` is provided an editor that
33+
doesn't exist. (`#10812 <https://github.com/pypa/pip/issues/10812>`_)
34+
- Add a user interface for supplying config settings to build backends. (`#11059 <https://github.com/pypa/pip/issues/11059>`_)
35+
- Add support for Powershell autocompletion. (`#9024 <https://github.com/pypa/pip/issues/9024>`_)
36+
- Explains why specified version cannot be retrieved when *Requires-Python* is not satisfied. (`#9615 <https://github.com/pypa/pip/issues/9615>`_)
37+
- Validate build dependencies when using ``--no-build-isolation``. (`#9794 <https://github.com/pypa/pip/issues/9794>`_)
38+
39+
Bug Fixes
40+
---------
41+
42+
- Fix conditional checks to prevent ``pip.exe`` from trying to modify itself, on Windows. (`#10560 <https://github.com/pypa/pip/issues/10560>`_)
43+
- Fix uninstall editable from Windows junction link. (`#10696 <https://github.com/pypa/pip/issues/10696>`_)
44+
- 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>`_)
45+
- When checking for conflicts in the build environment, correctly skip requirements
46+
containing markers that do not match the current environment. (`#10883 <https://github.com/pypa/pip/issues/10883>`_)
47+
- Disable brotli import in vendored urllib3 so brotli could be uninstalled/upgraded by pip. (`#10950 <https://github.com/pypa/pip/issues/10950>`_)
48+
- Prioritize URL credentials over netrc. (`#10979 <https://github.com/pypa/pip/issues/10979>`_)
49+
- Filter available distributions using hash declarations from constraints files. (`#9243 <https://github.com/pypa/pip/issues/9243>`_)
50+
- Fix an error when trying to uninstall packages installed as editable from a network drive. (`#9452 <https://github.com/pypa/pip/issues/9452>`_)
51+
- 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>`_)
52+
53+
Vendored Libraries
54+
------------------
55+
56+
- Upgrade CacheControl to 0.12.11
57+
- Upgrade distro to 1.7.0
58+
- Upgrade platformdirs to 2.5.2
59+
- Remove ``progress`` from vendored dependencies.
60+
- Upgrade ``pyparsing`` to 3.0.8 for startup performance improvements.
61+
- Upgrade rich to 12.2.0
62+
- Upgrade tomli to 2.0.1
63+
- Upgrade typing_extensions to 4.2.0
64+
65+
Improved Documentation
66+
----------------------
67+
68+
- Add more dedicated topic and reference pages to the documentation. (`#10899 <https://github.com/pypa/pip/issues/10899>`_)
69+
- Capitalise Y as the default for "Proceed (y/n)?" when uninstalling. (`#10936 <https://github.com/pypa/pip/issues/10936>`_)
70+
- Add ``scheme://`` requirement to ``--proxy`` option's description (`#10951 <https://github.com/pypa/pip/issues/10951>`_)
71+
- The wheel command now references the build interface section instead of stating the legacy
72+
setuptools behavior as the default. (`#10972 <https://github.com/pypa/pip/issues/10972>`_)
73+
- Improved usefulness of ``pip config --help`` output. (`#11074 <https://github.com/pypa/pip/issues/11074>`_)
74+
75+
1276
22.0.4 (2022-03-06)
1377
===================
1478

news/10556.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/10560.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/10630.trivial.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/10696.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/10709.process.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

news/10717.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/10774.trivial.rst

Whitespace-only changes.

news/10799.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/10812.feature.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

news/10883.bugfix.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

news/10899.doc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/10936.doc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/10950.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/10951.doc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/10972.doc.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

news/10979.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/11001.removal.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/11059.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/11074.doc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/1631cd96-53bb-4f35-9f20-c52daf607a72.trivial.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/20ef81f6-dfa6-453a-a23a-74b0de4c2f88.trivial.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/40015744-0875-4d5b-b323-ae1bae280614.trivial.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/9024.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/9243.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/9452.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/9615.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/9691.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/9794.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/CacheControl.vendor.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/distro.vendor.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/platformdirs.vendor.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/progress.vendor.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/pyparsing.vendor.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/rich.vendor.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/tomli.vendor.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

news/typing_extensions.vendor.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

tools/release/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def commit_file(session: Session, filename: str, *, message: str) -> None:
8585

8686
def generate_news(session: Session, version: str) -> None:
8787
session.install("towncrier")
88-
session.run("towncrier", "--yes", "--version", version, silent=True)
88+
session.run("towncrier", "build", "--yes", "--version", version, silent=True)
8989

9090

9191
def update_version_file(version: str, filepath: str) -> None:

0 commit comments

Comments
 (0)