Builds using poetry are breaking with the new version of the tox-poetry-buster Docker image, e.g. https://gerrit.wikimedia.org/r/c/cloud/toolforge/toolforge-cli/+/850506
16:06:49 py3-unit installed: 16:06:49 py3-unit run-test-pre: PYTHONHASHSEED='1005314786' 16:06:49 py3-unit run-test-pre: commands[0] | poetry install 16:06:49 ERROR: InvocationError for command could not find executable poetry
$ docker run --rm -it --entrypoint= docker-registry.wikimedia.org/releng/tox-poetry-buster:0.0.2 bash nobody@f7c790cfe011:/src$ poetry bash: poetry: command not found nobody@f7c790cfe011:/src$ ls -l /usr/bin/poetry lrwxrwxrwx 1 root root 22 Oct 27 09:44 /usr/bin/poetry -> /opt/poetry/bin/poetry nobody@f7c790cfe011:/src$ ls -l /opt/poetry/ total 36 -rw-r--r-- 1 root root 32801 Jan 10 2022 get-poetry.py
This patch will likely fix it: https://gerrit.wikimedia.org/r/c/integration/config/+/850515