Skip to content

Commit e345c9b

Browse files
committed
install-dependencies.sh: install pytest-asyncio as a pip package
The version of pytest-asyncio in Fedora 41 (0.23.6) contains a bug relate to loop_scope=module. It is not a problem for test.py test runner because it starts Python tests file-by-file and scopes session, package, and module effectively are the same. But it's not true for bare pytest, and it's became a problem during development of scylladb#22960 Fedora 42 contains the fixed version of pytest-asyncio (0.24.0), but it'll be released by the end of April (planned.) Current version in PyPI is 0.25.3 Ref: pytest-dev/pytest-asyncio#862
1 parent 55dbf54 commit e345c9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install-dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ fedora_packages=(
8585
python3-tabulate
8686
python3-boto3
8787
python3-pytest
88-
python3-pytest-asyncio
8988
python3-redis
9089
python3-unidiff
9190
python3-humanfriendly
@@ -162,6 +161,7 @@ declare -A pip_packages=(
162161
[treelib]=""
163162
[allure-pytest]=""
164163
[pytest-xdist]=""
164+
[pytest-asyncio]=""
165165
[pykmip]=""
166166
[universalasync]=""
167167
[boto3-stubs[dynamodb]]=""

0 commit comments

Comments
 (0)