]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- use explicit PYTEST_PLUGINS lists for reliable tests (not failing if some conflicti...
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 16 Dec 2021 17:30:10 +0000 (18:30 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 16 Dec 2021 17:30:10 +0000 (18:30 +0100)
python-ext.spec
python.spec
python3-ext.spec
python3.spec

index 8759254150fd63f735501fca274c6c94345a782f..bcb134df471f0945b3668d0f541cc9c2485e0762 100644 (file)
@@ -90,6 +90,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
@@ -99,6 +102,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
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
index 8d6c7131db0bf2ea9cb52408b9c74ccdc6e5570e..5dfef95513bf42bcc4eec2f257e23cfc8d86c68f 100644 (file)
@@ -66,6 +66,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
 
index 1132cb86abfcd688c0b61ff2b059b075dcfd3555..c4b24393370d9d0f6b9ebfa65a9eb7f9cdf71c33 100644 (file)
@@ -67,6 +67,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 tests
 %endif
 
This page took 1.723389 seconds and 4 git commands to generate.