Issue
It seems there's been a long-running issue when using Poetry to install dependencies on a machine with a large number of cores. Specifically, when installing, the following message is spammed many times (depending on the number of cores):
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
It appears to be related to exceeding the default connection pool size of urllib3 which is 10. I would expect Poetry to set this value to at least be equal to the number of workers being used. As it stands, the only workaround is :
poetry config installer.max-workers 10
Is there a technical reason why this issue cannot be resolved? I've seen the above "fix" in dozens of projects. Why has it not been addressed? If there is a technical reason, why not hard code the max worker limit at 10?
-vvvoption) and have included the output below.Issue
It seems there's been a long-running issue when using Poetry to install dependencies on a machine with a large number of cores. Specifically, when installing, the following message is spammed many times (depending on the number of cores):
It appears to be related to exceeding the default connection pool size of
urllib3which is 10. I would expect Poetry to set this value to at least be equal to the number of workers being used. As it stands, the only workaround is :Is there a technical reason why this issue cannot be resolved? I've seen the above "fix" in dozens of projects. Why has it not been addressed? If there is a technical reason, why not hard code the max worker limit at 10?