Closed yairfrid closed 1 year ago
I cant use poetry :cry: it gets stuck here forever:
Finding the necessary packages for the current system
Package operations: 12 installs, 0 updates, 0 removals
• Installing typing-extensions (3.10.0.2)
• Installing zipp (3.6.0)
• Installing importlib-metadata (4.8.2)
• Installing pyparsing (2.4.7): Pending...
Tried in Python 3.8.11
and 3.7.11
After upgrading poetry to latest version (previous version was maybe a year old?), I'm also seeing current poetry install
hanging forever on some dependency configurations, but poetry update
completes fine.
$ poetry -V
Poetry version 1.1.11
Did anybody find a solution for this? I'm stuck with a similar problem (https://github.com/python-poetry/poetry/issues/4855)
After installing and trying out poetry this started to happen to me too but with python310 (5.16.0-1-MANJARO
).
Though installing a package thru pip gets stuck on accessing pypi.org for definitely longer time then normally.
EDIT: Caused by faulty ipv6 connection, resolved by setting Ignore in IPv6 Settings in my wifi connection and reconnecting. Poetry now no longer hangs.
I can't reproduce the original, and all the comments are only tangentially related. This looks like the usual suspects: IPv6/networking issues or a busted cache. Try poetry cache clear --all .
and rm -rf $(poetry cache-dir)/artifacts
to blow away your caches and start over if you run into a hang. The two underlying issues that could cause the corrupted caches are resolved in the upcoming 1.3 branch.
I got this today. openSuSE 15.4, python 3.10 in a VM using VMware Player and network was set to NAT. Disabled IP v6 as per https://www.suse.com/support/kb/doc/?id=000016980 and 10.2.2 of https://wiki.archlinux.org/title/IPv6 rebooted and poetry install works now.
perhaps a timeout on network connections ?
Ran into this again recently on latest arch, hung on keychain until I disabled ipv6 and restarted networking fixed it. This was a fresh installation with no cache files.
Poetry (version 1.5.1)
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.
-vvv
option).Issue
after running pip install poetry, tried creating a new package, but poetry seems to hang. this also reproduces on the poetry project on the master branch
example:
Rerunning that command had no results
But on the poetry project:
This state does not change for a while(waited 10 minutes+) adding -vvv did not give any meaningful output
the poetry install example was fixed by disabling the experimental installer
although installation is very slow
possible duplication of #3352
My pip freeze(not pipx installed):