I think I’ve found a slightly better workaround for my case here. The important step being to install virtualenv
after changing Python versions. This makes the virtual env used by CircleCI use the Python version I want without some hacky deletion. It doesn’t matter whether it’s pre:
or post:
since the inferred virtualenv
command always runs after.