Skip to content

Commit

Permalink
Bump for release
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Oct 22, 2021
1 parent f9f2db2 commit f9914f3
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 11 deletions.
25 changes: 25 additions & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/pypa/pip/issues/10531>`_)
- Tweak running-as-root detection, to check ``os.getuid`` if it exists, on Unix-y and non-Linux/non-MacOS machines. (`#10565 <https://github.com/pypa/pip/issues/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 <https://github.com/pypa/pip/issues/10573>`_)
- Restore compatibility of where configuration files are loaded from on MacOS (back to ``Library/Application Support/pip``, instead of ``Preferences/pip``). (`#10585 <https://github.com/pypa/pip/issues/10585>`_)

Vendored Libraries
------------------


- Upgrade pep517 to 0.12.0


21.3 (2021-10-11)
=================

Expand Down
2 changes: 0 additions & 2 deletions news/10531.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/10565.bugfix.rst

This file was deleted.

5 changes: 0 additions & 5 deletions news/10573.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/10585.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/pep517.vendor.rst

This file was deleted.

2 changes: 1 addition & 1 deletion src/pip/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import List, Optional

__version__ = "21.3"
__version__ = "21.3.1"


def main(args: Optional[List[str]] = None) -> int:
Expand Down

0 comments on commit f9914f3

Please sign in to comment.