Skip to content

Commit

Permalink
Pin pytest<6
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Jul 28, 2020
1 parent bc25531 commit c117408
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pip_pinnings.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@

pytest<6
6 changes: 6 additions & 0 deletions travis/setup_dependencies_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,12 @@ fi

# CORE DEPENDENCIES

# Temporary version limitation, remove once
# https://github.com/astropy/pytest-doctestplus/issues/118 is fixed and released
if [[ -z $PYTEST_VERSION ]]; then
PYTEST_VERSION="<6"
fi

if [[ ! -z $PYTEST_VERSION && $PYTEST_VERSION != dev* ]]; then
echo "pytest ${PYTEST_VERSION}.*" >> $PIN_FILE
fi
Expand Down

0 comments on commit c117408

Please sign in to comment.