python-poetry / poetry

Python packaging and dependency management made easy
https://python-poetry.org
MIT License
31.46k stars 2.27k forks source link

Python3.12 `Connection pool is full` - Long installs #8627

Closed ghost closed 11 months ago

ghost commented 11 months ago

Issue

When trying to run a poetry install on Python3.12 on a GitLab CI all the jobs are taking a long time because of the below issue. It seems that it takes about 10 minutes for poetry to continue after the connection pool is full.

Connection pool is full, discarding connection: pypi.org. Connection pool size: 10

ghost commented 11 months ago

Example Jobs: Python3.11: https://gitlab.com/ip-fabric/integrations/python-ipfabric/-/jobs/5468275063 Python3.12: https://gitlab.com/ip-fabric/integrations/python-ipfabric/-/jobs/5468020893

dimbleby commented 11 months ago

I expect you've mis-identified what is happening. Much more likely you have dependencies that did not yet publish wheels for python 3.12, and the install is slower because they therefore have to be compiled from source.

please close

ghost commented 11 months ago

I added -vvv but doesn't show much however I got caching working so its much faster.

github-actions[bot] commented 7 months ago

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.