Skip to content

Commit

Permalink
Add instructions for poetry keyring check bug 1917
Browse files Browse the repository at this point in the history
See: python-poetry/poetry#1917
Prior duplicate with exact matching error message:
   python-poetry/poetry#7032

Encountered a poetry bug: "Failed to unlock the collection"
Unsure if this bug is per-project. If it recurs:
   Temporary fix:
   ```PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring```
      Or switch to a working backend.
   Permanent fix (disables Python keyring facilities):
   ```python3 -m keyring --disable```

I am uncertain if this bug is elicited by particular project settings,
but it is by particular environments.
  • Loading branch information
alexanderkjackson-protonmail-com committed Sep 14, 2023
1 parent a601935 commit f765129
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,12 @@ GNU GPL v3
## Contributing

Feel free to open issues, suggest improvements, or submit pull requests. When submitting pull requests, your code doesn't have to be good or tested. I'll take anything!

## Current issues
Partway through the project, an issue similar or identical to the following
was encountered: https://github.com/python-poetry/poetry/issues/1917

Quickfix: export PYTHON_KEYRING_BACKEND=keyring.backends.null.Keyring
More permanent fix, which I suspect will cause issues if using a private repo: python3 -m keyring --disable

I don't anticipate using a private repo in this project, so the above will likely have no drawbacks.

0 comments on commit f765129

Please sign in to comment.