Release v6.1.0 of actions/setup-python now contains a way to specify pip installation through input, see the associated PR. Since we heavily use the workflow: install python and then install dependencies / package, we could refactor and leverage that input.