[packages/python-pluginbase] - disable pytest plugins

qboosh qboosh at pld-linux.org
Tue May 27 20:48:35 CEST 2025


commit 4c4ac9c8b6dcd6cb68c79b0eb56eef1ad9ac834b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue May 27 20:37:52 2025 +0200

    - disable pytest plugins

 python-pluginbase.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/python-pluginbase.spec b/python-pluginbase.spec
index 887be8b..403fe2b 100644
--- a/python-pluginbase.spec
+++ b/python-pluginbase.spec
@@ -81,8 +81,9 @@ Dokumentacja API modułu Pythona pluginbase.
 
 %if %{with tests}
 cd tests
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=.. \
-%{__python} -m pytest
+%{__python} -m pytest --tb=native
 cd ..
 %endif
 %endif
@@ -92,8 +93,9 @@ cd ..
 
 %if %{with tests}
 cd tests
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTHONPATH=.. \
-%{__python3} -m pytest
+%{__python3} -m pytest --tb=native
 cd ..
 %endif
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pluginbase.git/commitdiff/4c4ac9c8b6dcd6cb68c79b0eb56eef1ad9ac834b



More information about the pld-cvs-commit mailing list