Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip 9 offers upgrades to prereleases #5175

Closed
mgedmin opened this issue Apr 5, 2018 · 3 comments
Closed

pip 9 offers upgrades to prereleases #5175

mgedmin opened this issue Apr 5, 2018 · 3 comments

Comments

@mgedmin
Copy link

@mgedmin mgedmin commented Apr 5, 2018

  • Pip version: 9.0.3
  • Python version: 2.7.14
  • Operating system: Ubuntu 17.10

Description:

Any pip command says

You are using pip version 9.0.3, however version 10.0.0b2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

I'm not sure it's a good idea to offer upgrades to pre-release versions? Anyway, the suggested command doesn't work (because it needs --pre to allow upgrades to pre-release versions):

Requirement already up-to-date: pip in /home/mg/.venv/lib/python2.7/site-packages
You are using pip version 9.0.3, however version 10.0.0b2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
@pfmoore
Copy link
Member

@pfmoore pfmoore commented Apr 5, 2018

Thanks for reporting this! It's only likely to be an issue for a relatively short period (pip 10 final is due in just over a week) but it's good to have the problem recorded so that we can ensure it doesn't crop up for future betas.

@pradyunsg
Copy link
Member

@pradyunsg pradyunsg commented Apr 7, 2018

pypi_version = str(

Relevant line is this. We'd want to filter out pre-releases here.,

@lock
Copy link

@lock lock bot commented May 28, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the S: auto-locked label May 28, 2019
@lock lock bot locked as resolved and limited conversation to collaborators May 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
3 participants