Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: specify pip < 21.0; avoid using pip3 script #2516

Merged
merged 1 commit into from
Feb 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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