Skip to content

Why POETRY_REQUESTS_TIMEOUT is experimental #9639

Answered by radoering
Zaczero asked this question in Q&A
Discussion options

You must be logged in to vote

My questions is: What exactly needs to be done for this feature not to be experimental?

It can only be configured with an environment variable, not via poetry config. All other settings can be configured via poetry config so I suppose implementing complete support for this setting is missing yet

I haven't found any discussion/issues around it. Is it safe to use?

I think so. The name may change if we make it a real setting at some point - even though I think we will keep this name because it fits well (cf #9422 (comment), this PR introduced requests.max-retries so that requests.timeout fits well).

But also, why is the default timeout 15 seconds?

Because that is the same as pip, see h…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Zaczero
Comment options

Answer selected by Zaczero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants