Poetry: Request: Specify a longer timeout, similar to `pip --timeout <seconds>`

Created on 19 Mar 2020  路  1Comment  路  Source: python-poetry/poetry

  • [x] I have searched the issues of this repo and believe that this is not a duplicate.
  • [x] I have searched the documentation and believe that my question is not covered.

Feature Request

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
Feature

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.

>All comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

etijskens picture etijskens  路  3Comments

nikaro picture nikaro  路  3Comments

jeremy886 picture jeremy886  路  3Comments

Euphorbium picture Euphorbium  路  3Comments

mozartilize picture mozartilize  路  3Comments