Skip to content

Commit

Permalink
Merge pull request #350 from github/prevent-accidental-analysis-of-ge…
Browse files Browse the repository at this point in the history
…t-pip-v1

Prevent accidental analysis of the `get-pip.py` script. [v1 cherry-pick]
  • Loading branch information
chrisgavin authored Dec 22, 2020
2 parents 4d26213 + b8f3d83 commit c2dc865
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python-setup/install_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +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 https://bootstrap.pypa.io/get-pip.py --output get-pip.py
python2 get-pip.py
curl --location --fail https://bootstrap.pypa.io/get-pip.py | python2

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

Expand Down

0 comments on commit c2dc865

Please sign in to comment.