]> git.pld-linux.org Git - projects/template-specs.git/blobdiff - python.spec
- use explicit PYTEST_PLUGINS lists for reliable tests (not failing if some conflicti...
[projects/template-specs.git] / python.spec
index a9994cc12b6b55c4e1fe355733faac3ab8a6992f..894f4858abf6944e5b8f49122312ec07ddb1551f 100644 (file)
@@ -93,6 +93,9 @@ Dokumentacja API modułu Pythona %{module}.
 # deprecated target, but sometimes still used: %{?with_tests:test}
 
 %if %{with tests}
+# use explicit plugins list for reliable builds (delete PYTEST_PLUGINS if empty)
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS= \
 %{__python} -m pytest ...
 %endif
 %endif
@@ -102,6 +105,9 @@ Dokumentacja API modułu Pythona %{module}.
 # deprecated target, but sometimes still used: %{?with_tests:test}
 
 %if %{with tests}
+# use explicit plugins list for reliable builds (delete PYTEST_PLUGINS if empty)
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS= \
 %{__python3} -m pytest ...
 %endif
 %endif
This page took 0.114589 seconds and 4 git commands to generate.