This is an auto-filed bug because dev-python/pytest-mock fails tests. The issue was originally discovered on amd64, but it may be reproducible on other arches as well. If you think that a different summary clarifies the issue better, feel free to change it. Attached build log and emerge --info. NOTE: If you need further logs, feel free to ask.
Created attachment 640046 [details] build.log build log and emerge --info
Created attachment 674767 [details] build.log (3.3.1, ppc64) 3.3.1 fails 16 tests on ppc64. [...] FAILED tests/test_pytest_mock.py::test_mocker_aliases[ANY] - ValueError: unknown configuration value:... FAILED tests/test_pytest_mock.py::test_mocker_aliases[call] - ValueError: unknown configuration value... FAILED tests/test_pytest_mock.py::test_mocker_aliases[create_autospec] - ValueError: unknown configur... FAILED tests/test_pytest_mock.py::test_mocker_aliases[MagicMock] - ValueError: unknown configuration ... FAILED tests/test_pytest_mock.py::test_mocker_aliases[Mock] - ValueError: unknown configuration value... FAILED tests/test_pytest_mock.py::test_mocker_aliases[mock_open] - ValueError: unknown configuration ... FAILED tests/test_pytest_mock.py::test_mocker_aliases[NonCallableMock] - ValueError: unknown configur... FAILED tests/test_pytest_mock.py::test_mocker_aliases[PropertyMock] - ValueError: unknown configurati... FAILED tests/test_pytest_mock.py::test_mocker_aliases[sentinel] - ValueError: unknown configuration v... FAILED tests/test_pytest_mock.py::test_monkeypatch_native - AssertionError FAILED tests/test_pytest_mock.py::test_plain_stopall - Failed: nomatch: '* 1 passed in *' FAILED tests/test_pytest_mock.py::test_abort_patch_context_manager_with_stale_pyc - AssertionError FAILED tests/test_pytest_mock.py::test_used_with_class_scope - Failed: nomatch: '* 1 passed in *' FAILED tests/test_pytest_mock.py::test_used_with_module_scope - Failed: nomatch: '* 1 passed in *' FAILED tests/test_pytest_mock.py::test_used_with_package_scope - Failed: nomatch: '* 1 passed in *' FAILED tests/test_pytest_mock.py::test_used_with_session_scope - Failed: nomatch: '* 1 passed in *' ==================== 16 failed, 3 passed, 4 skipped, 1 warning, 39 errors in 10.57s ==================== * ERROR: dev-python/pytest-mock-3.3.1::gentoo failed (test phase): * Tests fail with python3.7
pytest-mock-3.6.1 is the only version in Portage at the time of writing. I couldn't reproduce test errors for pytest-mock-3.6.1 on amd64 for any supported Python version (Python 3.8 through 3.10 and PyPy3). Is this bug still relevant?
After another round of testing, just to be sure, without those failures, I think we can close this bug. In case this bug reappears (or any other), please open a new bug. Thank you all.