It seems that with a recent commit, pip has dropped support for Python 3.6 and so some of the integration tests are failing for pip at main.