[packages/python-sphinxcontrib-apidoc] - disable pytest plugins

qboosh qboosh at pld-linux.org
Thu Mar 17 19:49:38 CET 2022


commit 6f8db40dc95a52e32d98c59c5badf62176d005e4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Mar 17 19:51:28 2022 +0100

    - disable pytest plugins

 python-sphinxcontrib-apidoc.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/python-sphinxcontrib-apidoc.spec b/python-sphinxcontrib-apidoc.spec
index ad4966e..63dceb0 100644
--- a/python-sphinxcontrib-apidoc.spec
+++ b/python-sphinxcontrib-apidoc.spec
@@ -79,6 +79,7 @@ API.
 %py_build
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %{__python} -m pytest tests
 %endif
 %endif
@@ -87,6 +88,7 @@ API.
 %py3_build
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %{__python3} -m pytest tests
 %endif
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-sphinxcontrib-apidoc.git/commitdiff/6f8db40dc95a52e32d98c59c5badf62176d005e4



More information about the pld-cvs-commit mailing list