Merge pull request #381 from github/adityasharad/fix/python2-pip-url

Python setup: Fix URL for Python 2.7 pip install
This commit is contained in:
Aditya Sharad 2021-02-01 09:36:57 -08:00 committed by GitHub
commit db540f07f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ python3 -m pip install --user pipenv
if command -v python2 &> /dev/null; then
# Setup Python 2 dependency installation tools.
# The Ubuntu 20.04 GHA environment does not come with a Python 2 pip
curl --location --fail https://bootstrap.pypa.io/get-pip.py | python2
curl --location --fail https://bootstrap.pypa.io/2.7/get-pip.py | python2
python2 -m pip install --user --upgrade pip setuptools wheel