X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=python3.spec;fp=python3.spec;h=c4b24393370d9d0f6b9ebfa65a9eb7f9cdf71c33;hb=7302396e1168692fa9c276582f0e73d23b8a775b;hp=1132cb86abfcd688c0b61ff2b059b075dcfd3555;hpb=106d060c6a675280ee3a304f0182abeb6219ecd1;p=projects%2Ftemplate-specs.git diff --git a/python3.spec b/python3.spec index 1132cb8..c4b2439 100644 --- a/python3.spec +++ b/python3.spec @@ -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