Skip to content

Commit ca7c8b4

Browse files
authored
Change references of pip to pip3 (EFForg#14737)
1 parent c87d93a commit ca7c8b4

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ MAINTAINER William Budington "bill@eff.org"
33
WORKDIR /opt
44

55
COPY test/rules/requirements.txt /tmp/
6-
RUN pip install -r /tmp/requirements.txt
76
RUN pip3 install -r /tmp/requirements.txt
87
RUN rm /tmp/requirements.txt

install-dev-dependencies.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ git submodule init
9292
git submodule update
9393

9494
# Install Python packages
95-
pip install --user --no-allow-insecure --no-allow-external -r requirements.txt
95+
pip3 install --user --no-allow-insecure --no-allow-external -r requirements.txt
9696
cd test/rules
97-
pip install --user -r requirements.txt
97+
pip3 install --user -r requirements.txt
9898
cd -
9999
cd test/chromium
100-
pip install --user -r requirements.txt
100+
pip3 install --user -r requirements.txt
101101
cd -
102102

103103
# Install git hook to run tests before pushing.

test/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
# Requirements
77

8-
- Python 2.7
8+
- Python 3.6
99
- Selenium
10-
- Install Selenium as a python package using ```pip install selenium```, or run install-dev-dependencies.sh and it will do the job
10+
- Install Selenium as a python package using ```pip3 install selenium```, or run install-dev-dependencies.sh and it will do the job
1111
- GeckoDriver
1212
- Manually download GeckoDriver from https://github.com/mozilla/geckodriver/releases. Extract the executable to /usr/bin/, so that the pasted executable's full path becomes /usr/bin/geckodriver.
1313

test/setup_travis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function setup_firefox {
2727

2828
function browser_setup {
2929
# install python stuff
30-
pip install -r ${toplevel}/test/selenium/requirements.txt
30+
pip3 install -r ${toplevel}/test/selenium/requirements.txt
3131
}
3232

3333
function setup_lint {

0 commit comments

Comments
 (0)