Our tox-buster docker image includes a python 2 executable, which gets installed as the default binary:
docker run --entrypoint=/usr/bin/env --init --rm docker-registry.wikimedia.org/releng/tox-buster:0.3.0 python --version Python 2.7.16
This causes all kinds of problems with tox jobs that expect to be running python 3. For example, the quibble tox.ini creates its virtualenv using:
/src/.tox$ /usr/bin/python -m virtualenv --no-download --python /usr/bin/python venv-py3 >venv-py3/log/check-0.log
The result is a python2 virtualenv, which immediately errors out the job.
Ideally we remove all python2 packages from the image.