-
Notifications
You must be signed in to change notification settings - Fork 3k
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
upgrade won't install newer version #394
Comments
I assume there's some kind of cache somewhere since installing on a blank machine I do get version 0.0.2... |
I removed /Users/mickael/build/pybean and then re-run the install... |
I wasn't able to reproduce this, here's my console log:
I can only guess, but make sure you don't have an installation of pybean that pip can't uninstall due to permission issues. Using |
I do install some libs system-wide for day-to-day use of some software so virtualenvs is not an option in this case. PIP is the latest version: MacBook-Pro-de-Mickael-Desfrenes:pybean mickael$ pip --version This seems to be at least specific to macosx since I can't reproduce this either on a debian box. |
Hm, do you happen to be in a directory containing a pybean distribution or code repository? Also, what does running |
There now appears to be a pybean==0.0.3 up on PyPI? And upgrading to it works fine for me. Most likely reason I can think of for the originally reported issue is that pybean had a 0.0.2 release registered on PyPI, but no actual code uploaded for 0.0.2. Clearly this is no longer the case, but the addition of 0.0.3 indicates the maintainer has made some changes on PyPI since this was reported. (This is why I don't like "pip search" using the PyPI XML-RPC API. Opened #395 for that issue.) |
Yes, should it matter ?
There was code uploaded. |
It's possible that if there is a pybean/ directory in CWD that pip will privilege that over PyPI when you do "pip install pybean". I thought we'd fixed that already, but it's my best remaining idea. If so, that should probably be fixed so pip only privileges the local directory if explicit trailing / is provided. If that is the cause, please update summary/description accordingly and reopen. If not, please reopen when you're able to provide consistent reproduction instructions. Thanks for the report! |
In case anyone else hits this issue googling around, I managed to fix this issue with another package by upgrading to pip 1.4. Previously on 1.3, it would report a success when upgrading a package, but not actually upgrade. After updating pip to 1.4, I got this error message:
So I'm guessing pip 1.3 was silently failing to upgrade due to the same reason. |
I fail to upgrade a package, even though there's a newer version at pypi:
MacBook-Pro-de-Mickael-Desfrenes:~ mickael$ pip search pybean | grep LATEST
LATEST: 0.0.2
MacBook-Pro-de-Mickael-Desfrenes:~ mickael$ pip freeze | grep pybean
pybean==0.0.1
MacBook-Pro-de-Mickael-Desfrenes:~ mickael$ sudo pip install --upgrade pybean
Downloading/unpacking pybean
Running setup.py egg_info for package pybean
Installing collected packages: pybean
Found existing installation: pybean 0.0.1
Uninstalling pybean:
Successfully uninstalled pybean
Running setup.py install for pybean
Successfully installed pybean
Cleaning up...
MacBook-Pro-de-Mickael-Desfrenes:~ mickael$ pip freeze | grep pybean
pybean==0.0.1
The text was updated successfully, but these errors were encountered: