Skip to content

Commit

Permalink
Remove pinning of pytest version
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug committed Feb 1, 2024
1 parent 806dba6 commit 21800e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/scripts/unittest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ set -euo pipefail
eval "$($(which conda) shell.bash hook)" && conda deactivate && conda activate ci

echo '::group::Install testing utilities'
# TODO: remove the <8 constraint on pytest when https://github.com/pytorch/vision/issues/8238 is closed
pip install --progress-bar=off "pytest<8" pytest-mock pytest-cov expecttest!=0.2.0
pip install --progress-bar=off pytest" pytest-mock pytest-cov expecttest!=0.2.0
echo '::endgroup::'
python test/smoke_test.py
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ jobs:
echo '::endgroup::'
echo '::group::Install testing utilities'
# TODO: remove the <8 constraint on pytest when https://github.com/pytorch/vision/issues/8238 is closed
pip install --progress-bar=off "pytest<8"
pip install --progress-bar=off pytest
echo '::endgroup::'
echo '::group::Run extended unittests'
Expand Down

0 comments on commit 21800e1

Please sign in to comment.