Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poetry 1.4.0 can't install dependencies: Connection pool is full #7584

Closed
borice opened this issue Mar 1, 2023 · 5 comments
Closed

Poetry 1.4.0 can't install dependencies: Connection pool is full #7584

borice opened this issue Mar 1, 2023 · 5 comments

Comments

@borice
Copy link

borice commented Mar 1, 2023

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.

@dimbleby
Copy link
Contributor

dimbleby commented Mar 1, 2023

that's just a benign warning. You haven't said what your problem is, but I don't think it's this.

@borice
Copy link
Author

borice commented Mar 1, 2023

Well, this is what I was seeing in CircleCI:
image

... 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):

image

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.

@dimbleby
Copy link
Contributor

dimbleby commented Mar 1, 2023

duplicate #7572, please close

@borice borice closed this as completed Mar 1, 2023
@allanlewis
Copy link
Contributor

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.

Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants