[packages/python3-yarl] - disabled pytest-benchmark (doesn't work with xdist, causes pytest warning exception)

qboosh qboosh at pld-linux.org
Fri Nov 28 19:49:47 CET 2025


commit 435b3971feadcc21e10dc4601ef7bb1eba3ebe03
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Nov 28 19:49:55 2025 +0100

    - disabled pytest-benchmark (doesn't work with xdist, causes pytest warning exception)

 python3-yarl.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python3-yarl.spec b/python3-yarl.spec
index c6e3bbe..9ce3f2a 100644
--- a/python3-yarl.spec
+++ b/python3-yarl.spec
@@ -77,10 +77,10 @@ sed -i -e 's#build_inplace: bool = False,#build_inplace: bool = True,#g' -e 's#b
 %py3_build_pyproject
 
 %if %{with tests}
-%{__python} -m zipfile -e build-3/*.whl build-3-test
+%{__python3} -m zipfile -e build-3/*.whl build-3-test
 # run from dir not containing yarl source dir without compiled yarl._quoting_c module)
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS="benchmark,xdist" \
+PYTEST_PLUGINS="xdist" \
 %{__python3} -m pytest -o pythonpath="$PWD/build-3-test" tests
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-yarl.git/commitdiff/435b3971feadcc21e10dc4601ef7bb1eba3ebe03




More information about the pld-cvs-commit mailing list