Skip to content

Commit

Permalink
Fix pip bootstrapping on Python 2.7 (#475)
Browse files Browse the repository at this point in the history
### Summary:

The latest version of pip drops support for Python 2.7 (pypa/pip#6148).

This PR modifies `install_python_deps.sh` to install a Python 2.7 compatible version of pip.

We should also explore dropping Python 2.7 support in the future as it's been over a year since its EOL.

### Test Plan:

CI
  • Loading branch information
VivekPanyam authored and vkuzmin-uber committed Mar 15, 2021
1 parent 1c614d4 commit 35ecc45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/install_python_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
NEUROPOD_PYTHON_BINARY="python${NEUROPOD_PYTHON_VERSION}"

# Install pip
wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py
wget https://bootstrap.pypa.io/2.7/get-pip.py -O /tmp/get-pip.py
${NEUROPOD_PYTHON_BINARY} /tmp/get-pip.py

# Setup a virtualenv
Expand Down

0 comments on commit 35ecc45

Please sign in to comment.