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

[BUG] poetry install hangs. #84

Closed
AJDERS opened this issue Oct 24, 2022 · 3 comments
Closed

[BUG] poetry install hangs. #84

AJDERS opened this issue Oct 24, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@AJDERS
Copy link
Collaborator

AJDERS commented Oct 24, 2022

Describe the bug
poetry install hangs when making a clean install.

anders_jess@blackknight:~/AIAI-eval$ poetry install
Installing dependencies from lock file

Package operations: 133 installs, 1 update, 0 removals

  • Installing catalogue (2.0.8): Pending...
  • Installing frozenlist (1.3.1): Pending...
  • Installing idna (3.4): Pending...
  • Installing mdurl (0.1.2): Pending...
  • Installing multidict (6.0.2): Pending...
  • Installing pycparser (2.21): Pending...
  • Installing pyparsing (3.0.9): Pending...
  • Installing sniffio (1.3.0): Pending...
  • Installing typing-extensions (4.3.0): Pending...
^C^C^CError in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 40, in _python_exit
    t.join()
  File "/usr/lib/python3.8/threading.py", line 1011, in join
    self._wait_for_tstate_lock()
  File "/usr/lib/python3.8/threading.py", line 1027, in _wait_for_tstate_lock
    elif lock.acquire(block, timeout):
KeyboardInterrupt

Had hung for 15 min.

To Reproduce
poetry install

Expected behaviour
That all the packages are installed.

Context (please complete the following information):

  • OS [e.g., MacOS, Ubuntu]: Ubuntu
  • Python version [e.g., 3.10.6]: 3.8.10
  • Package version [e.g., 0.1.2]: 1.2.0

Additional context
This might be a work-around, with the possible caveat.

@AJDERS AJDERS added the bug Something isn't working label Oct 24, 2022
@AJDERS
Copy link
Collaborator Author

AJDERS commented Oct 24, 2022

The workaround did work!

@AJDERS AJDERS closed this as completed Feb 24, 2023
@RamakrishnaHande
Copy link

hi @AJDERS could you please give workaround ? I see this is happening inside my alpine image, but works fine in mac

@m-rav
Copy link

m-rav commented Mar 20, 2024

I was having this same issue and the keyring solution fixed it:

python-poetry/poetry#6354

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants