diff --git a/python-wxPython.changes b/python-wxPython.changes index aa323b8..642c2e3 100644 --- a/python-wxPython.changes +++ b/python-wxPython.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Dec 5 13:07:46 UTC 2022 - Daniel Garcia + +- Add python-pytest-forked as test dependency + * The pytest parameter --forked is provided by python-pytest-forked + which is no longer a transitive build requirement of + python-pytest-xdist + * gh#pytest-dev/pytest-xdist#468, gh#pytest-dev/pytest-xdist#821 + ------------------------------------------------------------------- Sat Aug 13 23:03:31 UTC 2022 - Stefan BrĂ¼ns diff --git a/python-wxPython.spec b/python-wxPython.spec index e0771fc..1dcc17b 100644 --- a/python-wxPython.spec +++ b/python-wxPython.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -146,6 +146,7 @@ Obsoletes: %{python_provides}-wxPython < %{version}-%{release} %endif %if %{with test} BuildRequires: %{python_module numpy} +BuildRequires: %{python_module pytest-forked} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} BuildRequires: %{python_module six} @@ -260,8 +261,10 @@ sleep 5 # Make sure "import wx" does not confuse the wx dir with the module mv wx wx_temp +# pytest --forked from python-pytest-forked: # Run each test as a separate process, otherwise multiple app -# instances will corrupt each others static data +# instances will corrupt each others static data. +# # Run UiAction tests one by one %pytest_arch --forked -n 1 -k 'test_uiaction or test_mousemanager' unittests/ # Skip Auto ID management test (only enabled on Windows)