Error: Unable to store the password for poetry-repository-pypi in the key ring: Failed to unlock the collection!
See original GitHub issueHi, I am getting [KeyRingError] Unable to store the password for poetry-repository-pypi in the key ring: Failed to unlock the collection!
when running:
poetry config pypi-token.pypi <MY PYPI TOKEN>
Searched for this error everywhere but couldn’t find anything. Running on the last version of Poetry and Ubuntu 18.04 LTS.
Also, if I set the token using an environment variable I get: Unable to retrieve the password for poetry-repository-pypi from the key ring
.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:27
- Comments:24 (4 by maintainers)
Top Results From Across the Web
python poetry 1.0.0 private repo issue fix - Frank-Mich's Blog
After investigating, I've found out that the password key/value was ... It turns out that keyring comes with a backend aptly named “fail” ......
Read more >Repositories | Documentation | Poetry - Python dependency ...
If a system keyring is available and supported, the password is stored to and retrieved from the keyring. In the above example, the...
Read more >Make your passkeys and passwords available on all your ...
Make your passkeys and passwords available on all your devices with iPhone and iCloud Keychain. Use iCloud Keychain to keep your website and...
Read more >Poetry - The Blue Book
If access to keyring fails or is unsupported, this will fall back to writing the password to the auth.toml file along with the...
Read more >keyring: Access the System Credential Store from R
A keyring is a collection of keys that can be treated as a unit. A keyring typically has a name and a password...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OK keyringerror again. Then fixed it by
keyring --disable
in terminal on Ubuntu. Thenpoetry publish --build
as usual OK!Had the same problem in a container, solved it by setting the null keyring within the underlying lib, it’s just an env variable:
see https://pypi.org/project/keyring/ disabling keyring