Skip to content

The warning message for Python 2.7 EOL is shown even for Pythons that are not EOL'ing #6207

@Julian

Description

@Julian

Environment

  • pip version: 19.0.1
  • Python version: pypy 6.0.0
  • OS: macOS

PyPy is not EOL'ing on January 1, 2020, but the warning message emitted claims it is.

Description
Not sure how much fixing this matters -- I'm not sure whether there's a clear existing statement or commitment for pip to maintain support for Python2 regardless of CPython (I'd assume from the addition of this warning that there's at least some near-term plan to follow suit).

But as is, I've had a few internal developers ask me whether the message was accurate for us, for which I've had to explain it wasn't, so I figured I'd see whether modifying this message matters to anyone else.

Expected behavior
A warning simply about pip's own plans in cases where the interpreter itself is not EOLing

How to Reproduce
Run e.g. pip list under Python 2.7.

Output

⊙  pip list | head -n2                                                                                                                           julian@Air ●
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automationtype: bugA confirmed bug or unintended behaviortype: deprecationRelated to deprecation / removal.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions