Skip to content

Commit

Permalink
Merge pull request #8087 from pradyunsg/document-python-2-drop-date
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg authored Apr 22, 2020
2 parents c244314 + c46e167 commit daff811
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions docs/html/development/release-process.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions news/python2.process
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Document that pip 21.0 will drop support for Python 2.7.
2 changes: 1 addition & 1 deletion src/pip/_internal/cli/base_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def _main(self, args):
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 in January 2021. "
"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
)
Expand Down

0 comments on commit daff811

Please sign in to comment.