[packages/python-odfpy] - disable pytest plugins

qboosh qboosh at pld-linux.org
Thu Mar 17 20:13:58 CET 2022


commit 16af56cf14fed3e852d5f5787a478f8040099d92
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Mar 17 20:16:04 2022 +0100

    - disable pytest plugins

 python-odfpy.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/python-odfpy.spec b/python-odfpy.spec
index 0e6c7ba..371b0eb 100644
--- a/python-odfpy.spec
+++ b/python-odfpy.spec
@@ -100,6 +100,7 @@ Narzędzia do operacji na dokumentach OpenDocument.
 
 %if %{with tests}
 # test_xmlgenerator_wo_ns apparently fails with python 2.7
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %{__python} -m pytest tests -k 'not test_xmlgenerator_wo_ns'
 %endif
 %endif
@@ -108,6 +109,7 @@ Narzędzia do operacji na dokumentach OpenDocument.
 %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-odfpy.git/commitdiff/16af56cf14fed3e852d5f5787a478f8040099d92



More information about the pld-cvs-commit mailing list