Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #340 from pllim/unpin-pytest-3-7
Browse files Browse the repository at this point in the history
Unpin pytest<3.7 in Travis and Appveyor
  • Loading branch information
bsipocz authored Nov 14, 2018
2 parents c47d5f6 + 94a89ba commit 7caa8fc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion appveyor/pinned
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
pytest <3.7
2 changes: 0 additions & 2 deletions test_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@

PYTEST_LT_3 = LooseVersion(pytest.__version__) < LooseVersion('3')

# Remove this assert once we remove pinning pytest
PYTEST_LT_37 = LooseVersion(pytest.__version__) < LooseVersion('3.7')
assert PYTEST_LT_37


# If we are on Travis or AppVeyor, we should check if we are running the tests
Expand Down
4 changes: 0 additions & 4 deletions travis/setup_dependencies_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,6 @@ fi

if [[ ! -z $PYTEST_VERSION ]]; then
echo "pytest ${PYTEST_VERSION}*" >> $PIN_FILE
else
# pin pytest to avoid upstream issues
# https://github.com/astropy/pytest-doctestplus/issues/22
echo "pytest <3.7" >> $PIN_FILE
fi

if [[ ! -z $PIP_VERSION ]]; then
Expand Down

0 comments on commit 7caa8fc

Please sign in to comment.