Skip to content

Commit b2383d4

Browse files
authored
[RELEASE-ONLY CHANGES] [Cherry-pick for 0.17] CI fix - Use pytest<8 in unittest jobs (#8240)
1 parent 273182a commit b2383d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/scripts/unittest.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -euo pipefail
88
eval "$($(which conda) shell.bash hook)" && conda deactivate && conda activate ci
99

1010
echo '::group::Install testing utilities'
11-
pip install --progress-bar=off pytest pytest-mock pytest-cov expecttest
11+
pip install --progress-bar=off "pytest<8" pytest-mock pytest-cov expecttest
1212
echo '::endgroup::'
1313

1414
python test/smoke_test.py

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ jobs:
164164
echo '::endgroup::'
165165
166166
echo '::group::Install testing utilities'
167-
pip install --progress-bar=off pytest
167+
pip install --progress-bar=off "pytest<8"
168168
echo '::endgroup::'
169169
170170
echo '::group::Run extended unittests'

0 commit comments

Comments
 (0)