Skip to content

Commit daff811

Browse files
authored
Merge pull request #8087 from pradyunsg/document-python-2-drop-date
2 parents c244314 + c46e167 commit daff811

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/html/development/release-process.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,8 @@ Python 2 support
6262

6363
pip will continue to ensure that it runs on Python 2.7 after the CPython 2.7
6464
EOL date. Support for Python 2.7 will be dropped, if bugs in Python 2.7 itself
65-
make this necessary (which is unlikely) or Python 2 usage reduces to a level
66-
where pip maintainers feel it is OK to drop support. The same approach is used
67-
to determine when to drop support for other Python versions.
65+
make this necessary (which is unlikely) or in pip 21.0 (Jan 2021), whichever is
66+
earlier.
6867

6968
However, bugs reported with pip which only occur on Python 2.7 would likely not
7069
be addressed directly by pip's maintainers. Pull Requests to fix Python 2.7

news/python2.process

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Document that pip 21.0 will drop support for Python 2.7.

src/pip/_internal/cli/base_command.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def _main(self, args):
141141
not options.no_python_version_warning
142142
):
143143
message = (
144-
"A future version of pip will drop support for Python 2.7. "
144+
"pip 21.0 will drop support for Python 2.7 in January 2021. "
145145
"More details about Python 2 support in pip, can be found at "
146146
"https://pip.pypa.io/en/latest/development/release-process/#python-2-support" # noqa
147147
)

0 commit comments

Comments
 (0)