For devices with unstable internet connection, poetry can fail when using install or update. This can be solved by exporting PIP_DEFAULT_TIMEOUT. But since in the roadmap specifies that pip will be dropped in the future a command line option for specifying this option could be implemented. The option could be implemented as follows:
poetry install --timeout 120 #聽120 seconds of timeout
poetry update --timeout 60 # 60 seconds of timeout
I'd also like to see this. I'm having significant issues trying to use poetry with a private repo (I've followed the documentation and several associated issues), and it's difficult to test variations with the timeout is set too high. I really like the features that poetry provides, but it's a little disappointing that some of the basic features of pip are not available in v1.
Most helpful comment
I'd also like to see this. I'm having significant issues trying to use poetry with a private repo (I've followed the documentation and several associated issues), and it's difficult to test variations with the timeout is set too high. I really like the features that poetry provides, but it's a little disappointing that some of the basic features of pip are not available in v1.