[packages/python3-nbformat] disable pytest plugin autoload

atler atler at pld-linux.org
Tue Apr 22 14:17:16 CEST 2025


commit d815429c854388fb73a24fce5b3d3460467981e2
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Apr 22 13:29:54 2025 +0200

    disable pytest plugin autoload

 python3-nbformat.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/python3-nbformat.spec b/python3-nbformat.spec
index 4658821..7e5a042 100644
--- a/python3-nbformat.spec
+++ b/python3-nbformat.spec
@@ -69,6 +69,7 @@ Dokumentacja API modułu Pythona nbformat.
 %py3_build_pyproject
 
 %if %{with tests}
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 %{__python3} -m pytest -p no:unraisableexception tests
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-nbformat.git/commitdiff/d815429c854388fb73a24fce5b3d3460467981e2



More information about the pld-cvs-commit mailing list