Skip to content

Commit de01e9b

Browse files
committed
Manually set pytest version until error is resolved
As part of the upgrade from pytest 8.0.0 -> 8.1.0, a deprecated function is used, which only emitted a warning before but since 8.1.0 it raises an error upon usage. So, if the usage of this function is changed in a future pytest release, the hardcoded version can be removed again ([ref] (pytest-dev/pytest#11779)).
1 parent 5c24cc4 commit de01e9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.ci/test

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
set -e
44

5+
pip3 install pytest==8.0.0 # pytest 8.1.0 uses a deprecated function which raises an error
6+
57
if ! which pytest &>/dev/null; then
68
echo "pytest is required (install with pip(3) install pytest)"
79
exit 1

0 commit comments

Comments
 (0)