tuna / issues

Code Unrelated Issues
362 stars 28 forks source link

PyPI broken #87

Closed zhsj closed 8 years ago

zhsj commented 8 years ago

与其他 PyPI 镜像比较,TUNA 的镜像中的软件包似乎已经滞后很久了。

virtualenv test1
test1/bin/pip install -i https://pypi.tuna.tsinghua.edu.cn/simple oslo.utils
....
Successfully installed ... oslo.utils-3.10.0 ...
virtualenv test2
test2/bin/pip install -i https://pypi.mirrors.ustc.edu.cn/simple oslo.utils
Successfully installed ... oslo.utils-3.16.0 ...
zhsj commented 8 years ago

可能是 bandersnatch 没更新?

bigeagle commented 8 years ago

哭死,bandersnatch 1.9+ 一直工作不正常,我就一直停在了 1.8

zhsj commented 8 years ago

bandersnatch 版本已经跑到 1.11 了 :smiley:

bigeagle commented 8 years ago

是呀…… 但是 这个bug 一直不解决,我也很困扰呢

zhsj commented 8 years ago

要不写个wrapper,强行检查下 repo/pypi/todo 的大小,0字节就返回 0。。。。。

bigeagle commented 8 years ago

哦?只要这个是 0 就算成功了? wrapper 是一直有的

zhsj commented 8 years ago

不知道成功了是不是0字节,不过不成功肯定不是0字节 :joy:

不成功的状态:

 % cat /srv/repo/pypi/todo
2243647
pyramid_turbo 2242977
javad-monochrome 2243448
skjult 2242592% 
bigeagle commented 8 years ago

2333

zhsj commented 8 years ago

我看 https://mirrors.tuna.tsinghua.edu.cn/pypi/ 这里都没 todo 文件,大概成功了这个文件就没了吧 =。=

bigeagle commented 8 years ago

看起来似乎好了

zhsj commented 8 years ago

是升级了 bandersnatch?还是自己突然好了。。。。

bigeagle commented 8 years ago

更新了bandersnatch到1.11了,改了 wrapper script