codeql-action/python-setup
Florian Bruhin b168eee469
Make sure a Python 2 pip is installed
In the README of this repo, it's suggested to use the `ubuntu-latest` environment.
That environment will soon be upgraded to Ubuntu 20.04: https://github.com/actions/virtual-environments/issues/1816

As pointed out in that issue, the updated image comes without a Python 2 pip preinstalled:

    Setup Python dependencies
    /home/runner/work/_actions/github/codeql-action/v1/python-setup/install_tools.sh
    [...]
      + python2 -m pip install --user --upgrade pip setuptools wheel
      /usr/bin/python2: No module named pip
    Warning: Unable to download and extract the tools needed for installing the python dependecies. You can call this action with 'setup-python-dependencies: false' to disable this process.
2020-11-20 16:48:43 +01:00
..
tests Merge branch 'main' into daverlo/python-windows 2020-10-15 12:12:50 +02:00
auto_install_packages.py Merge branch 'main' into daverlo/python-windows 2020-10-15 12:12:50 +02:00
extractor_version.py Apply suggestions from code review 2020-09-24 15:36:00 +02:00
install_tools.ps1 Port python deps setup to windows 2020-10-06 14:14:12 +02:00
install_tools.sh Make sure a Python 2 pip is installed 2020-11-20 16:48:43 +01:00