Skip to content

Commit 9199206

Browse files
authored
Fix pip bootstrapping on Python 2.7 (#475)
### 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
1 parent c15727e commit 9199206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/install_python_deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
NEUROPOD_PYTHON_BINARY="python${NEUROPOD_PYTHON_VERSION}"
66

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

1111
# Setup a virtualenv

0 commit comments

Comments
 (0)