[packages/python-FormEncode] - disable pytest plugin autoload

qboosh qboosh at pld-linux.org
Tue Sep 19 17:45:44 CEST 2023


commit 8cc430503cb1bbbf849055e0f7a9f21f103d94cc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Sep 19 17:14:56 2023 +0200

    - disable pytest plugin autoload

 python-FormEncode.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/python-FormEncode.spec b/python-FormEncode.spec
index fc97a1b..61a565a 100644
--- a/python-FormEncode.spec
+++ b/python-FormEncode.spec
@@ -100,6 +100,7 @@ Dokumentacja API modułu Pythona FormEncode.
 %py_build
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %{__python} -m pytest build-2/lib/formencode/tests
 %endif
 %endif
@@ -108,6 +109,7 @@ Dokumentacja API modułu Pythona FormEncode.
 %py3_build
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %{__python3} -m pytest build-3/lib/formencode/tests
 %endif
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-FormEncode.git/commitdiff/8cc430503cb1bbbf849055e0f7a9f21f103d94cc



More information about the pld-cvs-commit mailing list