8000 TST: pin pytest version by tylerjereddy · Pull Request #13535 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

TST: pin pytest version #13535

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
TST: pin pytest version
* pin pytest version in CI to 4.4
until 4.5 issues are resolved
  • Loading branch information
tylerjereddy committed May 11, 2019
commit b8aae9bef2e988856c0e54ef2aadf017d1c63973
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
apt-get -y update && \
apt-get -y install python3.6-dev python3-pip locales && \
locale-gen fr_FR && update-locale && \
pip3 install setuptools nose cython==0.29.0 pytest pytz pickle5 && \
pip3 install setuptools nose cython==0.29.0 pytest==4.4 pytz pickle5 && \
apt-get -y install gfortran-5 wget && \
cd .. && \
mkdir openblas && cd openblas && \
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
displayName: 'install pre-built openblas'
- script: python -m pip install --upgrade pip setuptools wheel
displayName: 'Install tools'
- script: python -m pip install cython nose pytz pytest pickle5 vulture docutils sphinx==1.8.5 numpydoc matplotlib
- script: python -m pip install cython nose pytz pytest==4.4 pickle5 vulture docutils sphinx==1.8.5 numpydoc matplotlib
displayName: 'Install dependencies; some are optional to avoid test skips'
- script: /bin/bash -c "! vulture . --min-confidence 100 --exclude doc/,numpy/distutils/ | grep 'unreachable'"
displayName: 'Check for unreachable code paths in Python modules'
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:
choco install -y mingw --forcex86 --force --version=5.3.0
displayName: 'Install 32-bit mingw for 32-bit builds'
condition: eq(variables['BITS'], 32)
- script: python -m pip install cython nose pytz pytest
- script: python -m pip install cython nose pytz pytest==4.4
displayName: 'Install dependencies; some are optional to avoid test skips'
# NOTE: for Windows builds it seems much more tractable to use runtests.py
# vs. manual setup.py and then runtests.py for testing only
Expand Down
1 change: 1 addition & 0 deletions shippable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ build:
- pip install pytz
# install pytest-xdist to leverage a second core
# for unit tests
- pip install pytest==4.4
- pip install pytest-xdist

# build and test numpy
Expand Down
2 changes: 1 addition & 1 deletion tools/travis-before-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ if [ -n "$PPC64_LE" ]; then
fi

pip install --upgrade pip setuptools
pip install nose pytz cython pytest
pip install nose pytz cython pytest==4.4
if [ -n "$USE_ASV" ]; then pip install asv; fi
popd
4 changes: 2 additions & 2 deletions tools/travis-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ if [ -n "$USE_WHEEL" ] && [ $# -eq 0 ]; then
# Move out of source directory to avoid finding local numpy
pushd dist
$PIP install --pre --no-index --upgrade --find-links=. numpy
$PIP install nose pytest
$PIP install nose pytest==4.4

if [ -n "$INSTALL_PICKLE5" ]; then
$PIP install pickle5
Expand All @@ -174,7 +174,7 @@ elif [ -n "$USE_SDIST" ] && [ $# -eq 0 ]; then
# Move out of source directory to avoid finding local numpy
pushd dist
$PIP install numpy*
$PIP install nose pytest
$PIP install nose pytest==4.4
if [ -n "$INSTALL_PICKLE5" ]; then
$PIP install pickle5
fi
Expand Down
0