Skip to content

Commit

Permalink
Update pytest version used on CI (apache#19491)
Browse files Browse the repository at this point in the history
* Update pytest version

* Update Dockerfile.test.arm

* Update python.sh
  • Loading branch information
leezu authored and Vidya Sagar Ravipati committed Nov 11, 2020
1 parent 21cc4a7 commit 83eb768
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
8 changes: 4 additions & 4 deletions ci/docker/Dockerfile.test.arm
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
# Python dependencies
RUN pip3 install --no-cache-dir --upgrade pip && \
pip3 install --no-cache-dir \
pytest==5.3.5 \
pytest==6.1.2 \
pytest-env==0.6.2 \
pytest-cov==2.8.1 \
pytest-xdist==1.31.0 \
pytest-timeout==1.3.4 \
pytest-cov==2.10.1 \
pytest-xdist==2.1.0 \
pytest-timeout==1.4.2 \
mock==2.0.0

ARG USER_ID=0
Expand Down
11 changes: 5 additions & 6 deletions ci/docker/install/requirements
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,14 @@ Cython==0.29.7
cpplint==1.3.0
pylint==2.3.1 # pylint and astroid need to be aligned
astroid==2.3.3 # pylint and astroid need to be aligned
pytest==5.3.5
pytest==6.1.2
pytest-env==0.6.2
pytest-cov==2.8.1
pytest-xdist==1.31.0
pytest-timeout==1.3.4
flaky==3.6.1
pytest-cov==2.10.1
pytest-xdist==2.1.0
pytest-timeout==1.4.2
flaky==3.7.0
setuptools==49.6.0 # https://github.com/pypa/setuptools/issues/2352
wheel
mock==2.0.0

# TVM dependencies
decorator==4.4.0
Expand Down
2 changes: 1 addition & 1 deletion docker/install/python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ apt-get update && apt-get install -y python3-dev
# the version of the pip shipped with ubuntu may be too lower, install a recent version here
cd /tmp && wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py

pip3 install pylint numpy requests Pillow pytest==5.3.2 pytest-env==0.6.2 pytest-cov==2.8.1 pytest-xdist==1.31.0
pip3 install pylint numpy requests Pillow pytest==6.1.2 pytest-env==0.6.2 pytest-cov==2.10.1 pytest-xdist==2.1.0

0 comments on commit 83eb768

Please sign in to comment.