Skip to content

Commit

Permalink
CI: pin pytest<7 in pypy3 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lesteve committed Feb 7, 2022
1 parent 732923a commit 5825618
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions continuous_integration/install.sh
Expand Up @@ -12,8 +12,8 @@ set -e

create_new_conda_env() {
conda update --yes conda
# TODO: unpin pytest once it no longer cause freeze at the end
# of the tests.
# TODO: unpin pytest once it no longer causes test errors because of
# PytestRemovedIn8Warning warnings
TO_INSTALL="python=$PYTHON_VERSION pip pytest<7.0 $EXTRA_CONDA_PACKAGES"
conda create -n testenv --yes $TO_INSTALL
source activate testenv
Expand All @@ -25,7 +25,9 @@ create_new_pypy3_env() {
tar xvf $PYPY_FOLDER.tar.bz2
$PYPY_FOLDER/bin/pypy3 -m venv pypy3
source pypy3/bin/activate
pip install -U pip pytest
# TODO: unpin pytest once it no longer causes test errors because of
# PytestRemovedIn8Warning warnings
pip install -U pip pytest<7.0
}

if [[ "$PYTHON_VERSION" == "pypy3" ]]; then
Expand Down

0 comments on commit 5825618

Please sign in to comment.