Document pip 21.0 as end of Python 2 support

This commit is contained in:
Pradyun Gedam 2020-04-19 23:42:39 +05:30
parent 9a91f451cf
commit a75f2fa31d
No known key found for this signature in database
GPG Key ID: DA17C4B29CB32E4B
3 changed files with 4 additions and 4 deletions

View File

@ -62,9 +62,8 @@ Python 2 support
pip will continue to ensure that it runs on Python 2.7 after the CPython 2.7
EOL date. Support for Python 2.7 will be dropped, if bugs in Python 2.7 itself
make this necessary (which is unlikely) or Python 2 usage reduces to a level
where pip maintainers feel it is OK to drop support. The same approach is used
to determine when to drop support for other Python versions.
make this necessary (which is unlikely) or in pip 21.0 (Jan 2021), whichever is
earlier.
However, bugs reported with pip which only occur on Python 2.7 would likely not
be addressed directly by pip's maintainers. Pull Requests to fix Python 2.7

1
news/python2.process Normal file
View File

@ -0,0 +1 @@
Document that pip 21.0 will drop support for Python 2.7.

View File

@ -141,7 +141,7 @@ class Command(CommandContextMixIn):
not options.no_python_version_warning
):
message = (
"A future version of pip will drop support for Python 2.7. "
"pip 21.0 will drop support for Python 2.7. "
"More details about Python 2 support in pip, can be found at "
"https://pip.pypa.io/en/latest/development/release-process/#python-2-support" # noqa
)