-
Notifications
You must be signed in to change notification settings - Fork 1
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 install might hang in some machines, but there's a workaround. #47
Comments
Yes, it was known even in Qibo (@andrea-pasquale wrestled with it for a while, and most likely he was not alone). However, with the latest Poetry release (i.e. 1.8.0) you don't need any workaround, they added a suitable configuration |
Good to know that poetry finally addressed the issue! |
Yes, @andrea-pasquale, that was part of the reason I mentioned you :) We are actually always using the latest version in the workflows (i.e. latest release, not the default branch), so the feature is available |
Great, I can propagate the change to qibocal. I've seen that the qrccluster is using poetry |
Yes, exactly, it is the
Not a bad idea :) |
Thanks @alecandido and @andrea-pasquale for the pointer. This new configuration, as a fix, is much clearer and better organised than the workaround of directly manipulating the environment variable. As for the env, I believe, most of our folks here use |
No worries, it's a weeks-old fix, against a years-old bug (well, not truly a bug, but definitely an annoying behavior...). |
Some Ubuntu machines might encounter an hanging issue caused by
poetry install
.After some investigation, I found it's stuck at
keyring
, which is a known issue here: python-poetry/poetry#8623The workaround is
export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
, which works for me for now.The text was updated successfully, but these errors were encountered: