-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 add wasmer' and 'show --outdated' hang forever on macOS #3370
Comments
As a point of comparison, have you already tried with pip? If not, can you try? How does it behave? |
pip has no issue with it
|
And this happens only with |
If I add it to |
Do you have the verbose output ( |
Ah indeed,
|
I do not know where to go from there. Some things to try:
|
Hm, no problem here. |
@finswimmer Did you test on macOS as well? At one point resolving wasmer must have worked on my machine since I have a project using it. But I have no idea what changed since then. I tried disabling new-installer and downgrading Poetry as suggested by @sinoroc. I also tried downgrading to Python 3.8, that also did not fix the issue. |
Some other ideas to look into:
[I hope I do not ask the same questions twice, questions whose answers you already gave, or questions whose answers are obvious, and so on.] |
This is an issue for me as well. I'm a new user, looking at switching from Pipenv to Poetry. I'm using Poetry 1.1.11 on macOS Big Sur (M1) and Python 3.9. Installed today with I've setup the demo with
Similar to the above, Installing with |
I have this same problem. In my case Replacing: def session(self):
return CacheControl(requests.session(), cache=self._cache_control_cache) with def session(self):
return requests.Session() resolves the issue. No experience with what the |
probably duplicate #6030 in which we learned that cachecontrol uses lockfiles and, presumably, if you hit Ctrl-C or similar at an unfortunate moment then that lockfile gets left lying around - at which point you are stuck until you remove it. |
Closing as a duplicate for now as this is stale and there's no consistent reproduction. |
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. |
Issue
On macOS this is how I could reproduce the hang:
poetry init -n
poetry add wasmer
Also, if I already have
wasmer
in my project dependencies, thenpoetry show --outdated
hangs forever.However, on Linux I could not reproduce the issue, so there seems to be something macOS specific.
This is different from the other hang I reported in #3200. In the case of #3200, the bug cannot be triggered via Poetry CLI and there's a simple workaround. In this case I'm using Poetry CLI as designed and I have not found any workarounds.
The text was updated successfully, but these errors were encountered: