Poetry 1.4.0 can't install dependencies: Connection pool is full
With the upgrade to Poetry 1.4.0 I am now getting the following error when running poetry install in CircleCI.
Connection pool is full, discarding connection: pypi.org. Connection pool size: 10
I have changed the build script to install Poetry 1.3.2, and the error went away. I have checked that going back to 1.4.0 brings back the error also.
It seems that whatever changed between 1.3.2 and 1.4.0 is now causing this error for us in CircleCI.
that's just a benign warning. You haven't said what your problem is, but I don't think it's this.
Well, this is what I was seeing in CircleCI:

... but after reverting to 1.3.2 and restarting the build, I ran into this other error in the Docker image building step (which also used Poetry 1.4.0):

I reverted that setup to use 1.3.2 also, and error was gone. Went back to 1.4.0 briefly to test if this was a sporadic error, and error came back. Back again to 1.3.2 error went away again. So 1.4.0 seems to have some regression issue.
duplicate #7572, please close
I don't think this is related to #7572, it's the issue reported in this SO post. The solution suggested there, which works for me, is to set the Poetry config setting installer.max-workers to 10.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.