-
Notifications
You must be signed in to change notification settings - Fork 1k
pypi.org shows latest version, pip see's previous version #3962
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
Comments
Ok, so this is getting weirder... So now if I can install the guizero package which I couldnt do before.
... it installs the latest version but if I run C:\Users\Martin O'Hanlon-LT>pip3 search guizero
guizero (0.5.0) - Python module to allow kids to easily create GUIs
INSTALLED: 0.5.1
LATEST: 0.5.0 Do releases take time to propagate through warehouse / pypi? |
And now pip is reporting that version 0.5.1 is the latest...
Timing issues? Propagation of data? Something else? |
Hi @martinohanlon, thanks for the report. Our search index is not updated incrementally yet, instead it is refreshed once every 3 hours. This would certainly lead to the behavior you're reported. As such, I believe this is a duplicate of the feature request we are tracking in #701. |
To be clear, since It's only |
I just did a couple of tests on this because what @di said didnt match with my experience when I created this issue. This is what I did / found:
In summary, providing you have never installed the packaged before, or you disable the cache, you can install a package as soon as its been uploaded, otherwise its dependent on the search index being updated. |
I think what you're hitting here is that pip's local HTTP cache is not stale enough to go out and actually hit PyPI the second time. I don't think any point you're interacting with the search index. This might be worth raising on the pip issue tracker, but at first glance I don't see any way to avoid this without using |
When I first raised this issue I saw this behaviour on multiple machines I'll raise an issue on the pip repo and link to this. |
@ewdurbin This is happening for me right now for Also, It looks like the project just doesn't have any files for that version. Is that supposed to be possible? Are entries without installation files included intentionally, or is it likely an accident? |
I can see how the search result would be a bit confusing. |
I have the issue with I tried the I had to install from git:
|
|
Thanks @jamadden, I've reported this to the misconfigured package. |
@caramdache I made the upload for p3k today. Thanks for helping me @jamadden and @caramdache |
@amandal1810 This is likely due to protocolbuffers/protobuf#7520 |
Describe the bug
I have recently uploaded a new version of the guizero package 0.5.1 (https://pypi.org/project/guizero/) which is being displayed as available on pypi.org.
However pip is not reporting the new version as being available, only the previous 0.5.0.
I have tried across multiple platorms (windows, mac, linux) all with the same result.
I have tried upgrading pip (already latest version), with no effect.
As far as I can tell everything has been packaged correctly and pypi.org shows no errors.
Expected behavior
I am expecting guizero 0.5.1 to be available to install via pip.
To Reproduce
Run:
or
v0.5.0 is reported as the latest version.
My Platform
I have tested on:
+Windows 10, pip version 10.0.1
+MacOS, pip version 10.0.1
+Raspbian, pip version 9.0.1
The text was updated successfully, but these errors were encountered: