Skip to content

Commit bfa9dfe

Browse files
authored
Python setup: Fix URL for Python 2.7 pip install
This URL changed upstream. Fix it by using the same upstream URL as the LGTM Python image. We can revisit separately whether to drop the Python 2 pip installation entirely.
1 parent 7400463 commit bfa9dfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python-setup/install_tools.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ python3 -m pip install --user pipenv
3131
if command -v python2 &> /dev/null; then
3232
# Setup Python 2 dependency installation tools.
3333
# The Ubuntu 20.04 GHA environment does not come with a Python 2 pip
34-
curl --location --fail https://bootstrap.pypa.io/get-pip.py | python2
34+
curl --location --fail https://bootstrap.pypa.io/2.7/get-pip.py | python2
3535

3636
python2 -m pip install --user --upgrade pip setuptools wheel
3737

0 commit comments

Comments
 (0)