Skip to content

Commit d65ba2f

Browse files
authored
Replace python2 deprecation with a badge of supported python versions
The python world has (mostly) moved on from Python 2. Anyone not already aware of the py2->py3 migration is probably new to the ecosystem and started on Python 3. Additionally, it's convenient to see at a glance what versions of Python are supported by the current release. This pulls from PyPI versions, so will not immediately match `main` (we can probably change this to match `main` if preferred). So by doing this it's both more useful going forward, and also lets us drop the explicit notice about dropping Python 2 support.
1 parent 3c0147a commit d65ba2f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.rst

+6-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,15 @@ pip - The Python Package Installer
33

44
.. image:: https://img.shields.io/pypi/v/pip.svg
55
:target: https://pypi.org/project/pip/
6+
:alt: PyPI
7+
8+
.. image:: https://img.shields.io/pypi/pyversions/pip
9+
:target: https://pypi.org/project/pip
10+
:alt: PyPI - Python Version
611

712
.. image:: https://readthedocs.org/projects/pip/badge/?version=latest
813
:target: https://pip.pypa.io/en/latest
14+
:alt: Documentation
915

1016
pip is the `package installer`_ for Python. You can use pip to install packages from the `Python Package Index`_ and other indexes.
1117

@@ -19,8 +25,6 @@ We release updates regularly, with a new version every 3 months. Find more detai
1925
* `Release notes`_
2026
* `Release process`_
2127

22-
**Note**: pip 21.0, in January 2021, removed Python 2 support, per pip's `Python 2 support policy`_. Please migrate to Python 3.
23-
2428
If you find bugs, need help, or want to talk to the developers, please use our mailing lists or chat rooms:
2529

2630
* `Issue tracking`_
@@ -47,7 +51,6 @@ rooms, and mailing lists is expected to follow the `PSF Code of Conduct`_.
4751
.. _Release process: https://pip.pypa.io/en/latest/development/release-process/
4852
.. _GitHub page: https://github.com/pypa/pip
4953
.. _Development documentation: https://pip.pypa.io/en/latest/development
50-
.. _Python 2 support policy: https://pip.pypa.io/en/latest/development/release-process/#python-2-support
5154
.. _Issue tracking: https://github.com/pypa/pip/issues
5255
.. _Discourse channel: https://discuss.python.org/c/packaging
5356
.. _User IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa

0 commit comments

Comments
 (0)