poetry: 'poetry add wasmer' and 'show --outdated' hang forever on macOS
- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- OS version and name: macOS 10.15.7
- Poetry version: Poetry 1.1.4
- Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/intgr/767f32b18bd00164cceae9d02621af49
- Python 3.9.0
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, then poetry 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.
% poetry init -n
[...]
% time poetry add -vvv wasmer
Creating virtualenv test-y5X0okRo-py3.9 in /Users/marti.raudsepp/Library/Caches/pypoetry/virtualenvs
Using virtualenv: /Users/marti.raudsepp/Library/Caches/pypoetry/virtualenvs/test-y5X0okRo-py3.9
^Cpoetry add -vvv wasmer 0.92s user 3.63s system 0% cpu 12:56.92 total
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (7 by maintainers)
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.
pip has no issue with it