test on amd64 and riscv, both fail at same error ========================================================================== FAILURES =========================================================================== _________________________________________________________________ test_list_from_entry_points _________________________________________________________________ def test_list_from_entry_points(): # Should return a list with all the plugins registered in the entrypoints pluging_list = plugins.list_from_entry_points() orig_len = len(pluging_list) assert all(callable(e) for e in pluging_list) plugin_names = " ".join(str(e.__module__) for e in pluging_list) for example in EXISTING: assert example in plugin_names # a filtering function can be passed to avoid loading plugins that are not needed pluging_list = plugins.list_from_entry_points(filtering=lambda e: e.name != "isort") plugin_names = " ".join(str(e.__module__) for e in pluging_list) > assert len(pluging_list) == orig_len - 1 E assert 12 == 13 E +12 E -13 ...... =================================================================== short test summary info =================================================================== FAILED tests/test_plugins.py::test_list_from_entry_points - assert 12 == 13 ==================================================== 1 failed, 42 passed, 7 deselected, 1 warning in 1.89s ==================================================== * ERROR: dev-python/ini2toml-0.10::gentoo failed (test phase):
Created attachment 768449 [details] build.log
My totally random guess is that it's collecting plugins from both build tree and installed system, hence twice the number.
Created attachment 768467 [details] log But I passed all tests in my starlight board.
I saw this too on m68k. It works if you run "pytest test_plugins.py" outside of Portage.
(In reply to Michał Górny from comment #2) > My totally random guess is that it's collecting plugins from both build tree > and installed system, hence twice the number. yes, confirm this problem due to dev-python/ini2toml is already installed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92f6cc68200a6219a16116aba9750f06ad204b55 commit 92f6cc68200a6219a16116aba9750f06ad204b55 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-04-04 07:45:50 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-04-04 14:51:25 +0000 dev-python/ini2toml: Backport test fix Closes: https://bugs.gentoo.org/836619 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/ini2toml/files/ini2toml-0.10-test.patch | 39 ++++++++++++++++++++++ dev-python/ini2toml/ini2toml-0.10.ebuild | 4 +++ 2 files changed, 43 insertions(+)