Skip to content

Commit

Permalink
aurweb: disable Keyring
Browse files Browse the repository at this point in the history
Required for poetry 1.2 until #1917 is fixed

python-poetry/poetry#1917

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
  • Loading branch information
inglor committed Sep 14, 2022
1 parent c8db95b commit eb8c595
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/aurweb/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@
chdir: "{{ aurweb_dir }}"
environment:
POETRY_VIRTUALENVS_IN_PROJECT: "true"
# https://github.com/python-poetry/poetry/issues/1917
PYTHON_KEYRING_BACKEND: "keyring.backends.null.Keyring"
become: true
become_user: "{{ aurweb_user }}"
when: release.changed or aurweb_installed.rc != 0
Expand Down

0 comments on commit eb8c595

Please sign in to comment.