Pip on focal is linked to python 2.7 instead of python 3.6

Recently our builds started failing when installing software using pip. Investigating a little, and finding that, on focal, pip is now linked to Python 2.7 instead of Python 3.6. However, the docs for the focal environment say that Python 3.6 is the default and the 2.7 has been sunsetted. This was working fine recently, so I believe there has been a recent change to the worker build that is somehow messed up…

Here is an example failing build: https://app.travis-ci.com/github/plus3it/terraform-aws-org-new-account-support-case/jobs/549565341#L208

Travis-CI support found the issue in the worker build and fixed it. It is now working as it was before.

Imprint