On newer poetry based branches we have a retry built in when install poetry, however on older branches where we do the pip install we do not have retries and get transient network failures as seen in BF-32659.
We should add some retry logic on the older branches.