Skip to content

Commit

Permalink
CI: specify pip < 21.0; avoid using pip3 script
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtoews committed Feb 7, 2021
1 parent db2950e commit 5a88099
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clang_linux/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
sudo autoconf automake libtool clang++-10 python3-clang-10 make cmake ccache pkg-config tar zip \
sqlite3 libsqlite3-dev libtiff-dev libcurl4-openssl-dev jq python3-pip

pip3 install --user jsonschema
python3 -m pip install --user jsonschema

cd "$WORK_DIR"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux_gcc_32bit/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends -o AP
libsqlite3-dev:$ARCH libtiff-dev:$ARCH libcurl4-openssl-dev:$ARCH \
jq

pip3 install --user jsonschema
python3 -m pip install --user jsonschema
export PATH=$HOME/.local/bin:$PATH

export CXXFLAGS='-g -O2 -m32 -D_GLIBCXX_ASSERTIONS'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/linux_gcc_4_8/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
libsqlite3-dev libtiff-dev libcurl4-openssl-dev \
jq lcov

pip3 install --user --upgrade pip
echo `pip3 --version`
pip3 config --user set global.progress_bar off
pip3 install --user jsonschema
pip3 install --user cmake==3.9.6
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
python3 -m pip install --user cmake==3.9.6

export PATH=$HOME/.local/bin:$PATH

Expand Down
2 changes: 1 addition & 1 deletion docs/docbuild/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
texlive-latex-extra git latex-cjk-all texlive-lang-all \
graphviz python3-matplotlib wget unzip enchant

RUN pip3 install Sphinx breathe \
RUN python3 -m pip install Sphinx breathe \
sphinx_bootstrap_theme awscli sphinxcontrib-bibtex \
sphinx_rtd_theme recommonmark sphinx-markdown-tables \
sphinxcontrib-spelling
Expand Down
8 changes: 4 additions & 4 deletions travis/before_install_pip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5a88099

Please sign in to comment.