virtualenv
Context for previous version is https://github.com/github/codeql-action/pull/862 Locally, I was able to install `20.15.1` with Python2. I don't see any reason why python3 version should be restricted.
poetry
Force the virtualenv version to be 20.11 or less. The 20.12 version is failing for python 2 right now.