aboutsummaryrefslogtreecommitdiff
path: root/travis/before_install_pip.sh
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2021-02-07 23:04:39 +1300
committerGitHub <noreply@github.com>2021-02-07 23:04:39 +1300
commitaf7cbf0ad119d20813c242420d345c484995cd98 (patch)
tree12c6e8c75381fdebcd3aeea5912075f10c8f935d /travis/before_install_pip.sh
parentdb2950e56ea26a0949b71378d73559a16fc40f26 (diff)
downloadPROJ-af7cbf0ad119d20813c242420d345c484995cd98.tar.gz
PROJ-af7cbf0ad119d20813c242420d345c484995cd98.zip
CI: specify pip < 21.0; avoid using pip3 script (#2516)
Diffstat (limited to 'travis/before_install_pip.sh')
-rwxr-xr-xtravis/before_install_pip.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/travis/before_install_pip.sh b/travis/before_install_pip.sh
index 30a7f767..3685bbf7 100755
--- a/travis/before_install_pip.sh
+++ b/travis/before_install_pip.sh
@@ -4,7 +4,7 @@
# "global" before_install script.
# Configure Python pip
-pip3 install --user --upgrade pip
-echo `pip3 --version`
-pip3 config --user set global.progress_bar off
-pip3 install --user jsonschema
+python3 -m pip install --user --upgrade "pip < 21.0"
+echo `python3 -m pip --version`
+python3 -m pip config --user set global.progress_bar off
+python3 -m pip install --user jsonschema