build.log and emerge --info in attachment. >>> Test phase: dev-python/wxpython-4.2.1 * python3_11: running distutils-r1_run_phase python_test * Starting Xvfb ... * Xvfb started on DISPLAY=:0 python3.11 -m pytest -vv -ra -l -Wdefault --color=yes -o console_output_style=count -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:pytest-describe -p no:plus -p no:tavern -p no:salt-factories --deselect unittests/test_display.py::display_Tests::test_display --deselect unittests/test_frame.py::frame_Tests::test_frameRestore --deselect unittests/test_mousemanager.py::mousemanager_Tests::test_mousemanager1 --deselect unittests/test_uiaction.py::uiaction_KeyboardTests::test_uiactionKeyboardChar --deselect unittests/test_uiaction.py::uiaction_KeyboardTests::test_uiactionKeyboardKeyDownUp --deselect unittests/test_uiaction.py::uiaction_MouseTests --deselect unittests/test_aboutdlg.py::aboutdlg_Tests::test_aboutdlgGeneric --deselect unittests/test_lib_agw_piectrl.py::lib_agw_piectrl_Tests::test_lib_agw_piectrlCtor --deselect unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerRestore --deselect unittests/test_intl.py::intl_Tests::test_intlGetString --deselect unittests/test_tipwin.py::tipwin_Tests::test_tipwinCtor --deselect unittests/test_lib_pubsub_provider.py::lib_pubsub_Except::test1 --deselect unittests/test_windowid.py::IdManagerTest::test_newIdRef03 --ignore unittests/test_webview.py --forked -n 10 unittests ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --forked -n inifile: None rootdir: /var/tmp/portage/dev-python/wxpython-4.2.1/work/wxPython-4.2.1-python3_11 * pytest failed with python3.11 Reproducible: Always
Created attachment 879553 [details] build.log and emerge --info
Missing xdist dep.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e60737088dfb4499e07b9eaf5e4055eaec116d1 commit 0e60737088dfb4499e07b9eaf5e4055eaec116d1 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-12-16 11:01:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-16 11:02:28 +0000 dev-python/wxpython: add missing pytest-xdist test dep Closes: https://bugs.gentoo.org/920090 Signed-off-by: Sam James <sam@gentoo.org> dev-python/wxpython/wxpython-4.2.1.ebuild | 1 + 1 file changed, 1 insertion(+)
This fix appears to be only partial, it fixes the -n argument but --forked is still unrecognized. * python3_11: running distutils-r1_run_phase python_test * Starting Xvfb ... * Xvfb started on DISPLAY=:0 python3.11 -m pytest -vv -ra -l -Wdefault --color=yes -o console_output_style=count -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:pytest-describe -p no:plus -p no:tavern -p no:salt-factories --deselect unittests/test_display.py::display_Tests::test_display --deselect unittests/test_frame.py::frame_Tests::test_frameRestore --deselect unittests/test_mousemanager.py::mousemanager_Te sts::test_mousemanager1 --deselect unittests/test_uiaction.py::uiaction_KeyboardTests::test_uiactionKeyboardChar --deselect unittests/test_uiaction.py::uiaction_KeyboardTests::test_uiactionKeyboardKeyDownUp --deselect unittests/test_uiaction.py::uiaction_MouseTests --deselect unittests/test_aboutdlg.py::aboutdlg_Tests::test_aboutdlgGeneric --deselect unittests/test_lib_agw_piectrl.py::lib_agw_piectrl_Tests::test_lib_agw_piect rlCtor --deselect unittests/test_lib_agw_persist_persistencemanager.py::lib_agw_persist_persistencemanager_Tests::test_persistencemanagerRestore --deselect unittests/test_intl.py::intl_Tests::test_intlGetString --deselect unittests/test_tipwin.py::tipwin_Tests::test_tipwinCtor --deselect unittests/test_lib_pubsub_provider.py::lib_pubsub_Except::test1 --deselect unittests/test_windowid.py::IdManagerTest::test_newIdRef03 --ignore unittests/test_webview.py --forked -n 10 unittests ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...] __main__.py: error: unrecognized arguments: --forked inifile: None rootdir: /var/tmp/portage/dev-python/wxpython-4.2.1/work/wxPython-4.2.1-python3_11 # qlist -Iv dev-python/pytest-xdist dev-python/pytest-xdist-3.5.0
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed2b32cd319ce9fa6f67382e07b146cf722bc199 commit ed2b32cd319ce9fa6f67382e07b146cf722bc199 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-01-04 17:07:33 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-01-04 17:08:16 +0000 dev-python/wxpython: Add pytest-forked dep Closes: https://bugs.gentoo.org/920090 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/wxpython/wxpython-4.2.1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)