tuna / opentuna

TUNA on AWS
https://opentuna.cn
Apache License 2.0
143 stars 6 forks source link

fix: install missing dependencies in tuna worker for bandersnatch to … #125

Closed jiegec closed 3 years ago

jiegec commented 3 years ago

…work

Fixing #124

zxkane commented 3 years ago

how about add exiting non-zero if failing installing bandersnatch like below?

- export PIP_DEFAULT_TIMEOUT=20; pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple 'bandersnatch<4.0' || pip3 install -i https://pypi.douban.com/simple 'bandersnatch<4.0' || (echo 'Fail to install bandersnatch' && exit -1)
jiegec commented 3 years ago

LGTM