Skip to content

Upgrade nonsense #5600

Closed
Closed
@teo1978

Description

@teo1978

Environment

  • pip version: 8.1.1
  • Python version: 2.7.12
  • OS: Ubuntu 16.04

First I did:

sudo apt-get install python-pip

I know, if this installed a version that is not the latest, that's expected because I'm using my distro's package manager.

Then I used pip once to install some package, it's irrelevant which one:

$ pip install --user mercurial_keyring

The output ended with:

Successfully built [...blablabla...]
Successfully installed [...blablabla]
You are using pip version 8.1.1, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Now, that's telling me that the command pip install --upgrade pip' command will allow me to upgrade to 10.0.1. Actually, it strongly suggests that it will upgrade to that specific version, it doesn't quite say that, but it does definitely promise that it will upgrade.

I ran:

$ pip install --upgrade pip

And the output was:

Collecting pip
  Downloading https://files.pythonhosted.org/packages/0f/74/ecd13431bcc456ed390b44c8a6e917c1820365cbebcb6a8974d1cd045ab4/pip-10.0.1-py2.py3-none-any.whl (1.3MB)
    100% |████████████████████████████████| 1.3MB 579kB/s 
Installing collected packages: pip
Successfully installed pip-8.1.1
You are using pip version 8.1.1, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Now, if that is expected for whatever reason, then the message telling me to upgrade via this command was bullshit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automationproject: <downstream>When the cause/effect is related to redistributors

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions