Stash: pip install: no download
I am running into a strange problem after my first steps into submitting a package in PyPI.
I had a 2.2.0 version of mypackage, which I had properly with stash under Pythonista.
But then I decided to remove the package from PyPI all together. And I manually deleted the files from the site-packages directory on the iPad.
Unfortunately, PyPI does not allow me to upload to the same version number, so I uploaded a version 22.214.171.124 version.
And I removed the remains of mypackage with stash.
But, now, when I say pip install mypackage, it reports that the 2.2.0 version can't be found.
And when I give the pip versions mypackage, I get 2.2.0 instead of 126.96.36.199 .
It looks like stash (or pip, or ...) keeps track of the previous version and thus prevents me from uploading the new version.
Under Windows, I have no problem running pip install mypackage after my manouevres with PyPI.
Also, the web version of PyPI only shows 188.8.131.52 and nothing anymore about 2.2.0 .
Any idea what to do about it or at least explain this strange behaviour?
JonB last edited by
There was recently a bug report on this in stash. Seems we are using an older xmlrpc rather than json interface to pypi.
Yup, read it here https://github.com/ywangd/stash/issues/264 That's the reason why I removed PyPI package and related files from Blacka Mamba now. Will gladly add it back when it will work reliably. The new version is available after ~24h since upload, sometimes later. Rest works perfectly. Except pip update ..., it removes package and the crashes.
So, is there anyway to reset ?
@upwart reset what?
Reset or forget the wrong version in Stash
Following command uninstalls package and/or removes it from local registry:
pip remove your-pkg-name
zrzka last edited by zrzka
pipfixes were merged to
devbranch, if you'd like to test, you can ...
Run following command in StaSh ...
selfupdate -f dev
... and restart Pythonista.
Feel free to test
pipcommand now. Fixes were made in