Announcement: pip 21.0 has now been released

Announcement: pip 21.0 has now been released

On behalf of the PyPA, I am pleased to announce that we have just released pip 21.0, a new version of pip. You can install it by running python -m pip install --upgrade pip.

This is the first scheduled release of pip in 2021, following our regular quarterly release schedule.

Highlights

  • Removal of Python 2.7 and 3.5 support.
  • Dropped support for legacy cache entries from pip < 20.0.

You can find more details (including deprecations and removals) in the changelog.

Regarding Python 2 support

We’ve also released pip 20.3.4, which contains certain bugfixes for Python 2 users. It is our final Python 2 compatible release, and there are no future Python 2 compatible releases planned.

Python 2 users will need to continue using a version of pip older than 21.0. Upgrading via pip will select a suitable version, because this release is marked as not supporting Python 2. However, if you are upgrading from a version of pip older than 9.0.0, that does not support the Requires-Python metadata, you may need to explicitly request pip < 21.0.

A Python 2.7 compatible version of get-pip.py is available at https://bootstrap.pypa.io/2.7/.

Thanks

As with all pip releases, a significant amount of the work was contributed by pip’s user community. Huge thanks to all who have contributed, whether through code, documentation, issue reports and/or discussion. Your help keeps pip improving, and is hugely appreciated.

9 Likes