From f9914f3ebe223004b1d439a2b1980bd132d14f27 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Fri, 22 Oct 2021 16:13:23 +0100 Subject: [PATCH] Bump for release --- NEWS.rst | 25 +++++++++++++++++++++++++ news/10531.bugfix.rst | 2 -- news/10565.bugfix.rst | 1 - news/10573.bugfix.rst | 5 ----- news/10585.bugfix.rst | 1 - news/pep517.vendor.rst | 1 - src/pip/__init__.py | 2 +- 7 files changed, 26 insertions(+), 11 deletions(-) delete mode 100644 news/10531.bugfix.rst delete mode 100644 news/10565.bugfix.rst delete mode 100644 news/10573.bugfix.rst delete mode 100644 news/10585.bugfix.rst delete mode 100644 news/pep517.vendor.rst diff --git a/NEWS.rst b/NEWS.rst index 4f48ad2efa5..3563cfcd036 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -9,6 +9,31 @@ .. towncrier release notes start +21.3.1 (2021-10-22) +=================== + + +Bug Fixes +--------- + + +- Always refuse installing or building projects that have no ``pyproject.toml`` nor + ``setup.py``. (`#10531 `_) +- Tweak running-as-root detection, to check ``os.getuid`` if it exists, on Unix-y and non-Linux/non-MacOS machines. (`#10565 `_) +- When installing projects with a ``pyproject.toml`` in editable mode, and the build + backend does not support :pep:`660`, prepare metadata using + ``prepare_metadata_for_build_wheel`` instead of ``setup.py egg_info``. Also, refuse + installing projects that only have a ``setup.cfg`` and no ``setup.py`` nor + ``pyproject.toml``. These restore the pre-21.3 behaviour. (`#10573 `_) +- Restore compatibility of where configuration files are loaded from on MacOS (back to ``Library/Application Support/pip``, instead of ``Preferences/pip``). (`#10585 `_) + +Vendored Libraries +------------------ + + +- Upgrade pep517 to 0.12.0 + + 21.3 (2021-10-11) ================= diff --git a/news/10531.bugfix.rst b/news/10531.bugfix.rst deleted file mode 100644 index 0a33944a10d..00000000000 --- a/news/10531.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Always refuse installing or building projects that have no ``pyproject.toml`` nor -``setup.py``. diff --git a/news/10565.bugfix.rst b/news/10565.bugfix.rst deleted file mode 100644 index 2f0141ffd85..00000000000 --- a/news/10565.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Tweak running-as-root detection, to check ``os.getuid`` if it exists, on Unix-y and non-Linux/non-MacOS machines. diff --git a/news/10573.bugfix.rst b/news/10573.bugfix.rst deleted file mode 100644 index 5b69ab6d7e7..00000000000 --- a/news/10573.bugfix.rst +++ /dev/null @@ -1,5 +0,0 @@ -When installing projects with a ``pyproject.toml`` in editable mode, and the build -backend does not support :pep:`660`, prepare metadata using -``prepare_metadata_for_build_wheel`` instead of ``setup.py egg_info``. Also, refuse -installing projects that only have a ``setup.cfg`` and no ``setup.py`` nor -``pyproject.toml``. These restore the pre-21.3 behaviour. diff --git a/news/10585.bugfix.rst b/news/10585.bugfix.rst deleted file mode 100644 index 9e78a4609cf..00000000000 --- a/news/10585.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Restore compatibility of where configuration files are loaded from on MacOS (back to ``Library/Application Support/pip``, instead of ``Preferences/pip``). diff --git a/news/pep517.vendor.rst b/news/pep517.vendor.rst deleted file mode 100644 index 2f9070b9cdd..00000000000 --- a/news/pep517.vendor.rst +++ /dev/null @@ -1 +0,0 @@ -Upgrade pep517 to 0.12.0 diff --git a/src/pip/__init__.py b/src/pip/__init__.py index e6de28e434c..acead997652 100644 --- a/src/pip/__init__.py +++ b/src/pip/__init__.py @@ -1,6 +1,6 @@ from typing import List, Optional -__version__ = "21.3" +__version__ = "21.3.1" def main(args: Optional[List[str]] = None) -> int: