Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723656 - dev-python/pytest-mock fails tests
Summary: dev-python/pytest-mock fails tests
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
Depends on:
Reported: 2020-05-18 10:14 UTC by Agostino Sarubbo
Modified: 2021-10-25 16:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,25.31 KB, text/plain)
2020-05-18 10:14 UTC, Agostino Sarubbo
build.log (3.3.1, ppc64) (pytest-mock-3.3.1:20201124-224337.log,119.12 KB, text/plain)
2020-11-24 22:49 UTC, ernsteiswuerfel

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-05-18 10:14:10 UTC
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.

If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-18 10:14:19 UTC
Created attachment 640046 [details]

build log and emerge --info
Comment 2 ernsteiswuerfel archtester 2020-11-24 22:49:14 UTC
Created attachment 674767 [details]
build.log (3.3.1, ppc64)

3.3.1 fails 16 tests on ppc64.

FAILED tests/[ANY] - ValueError: unknown configuration value:...
FAILED tests/[call] - ValueError: unknown configuration value...
FAILED tests/[create_autospec] - ValueError: unknown configur...
FAILED tests/[MagicMock] - ValueError: unknown configuration ...
FAILED tests/[Mock] - ValueError: unknown configuration value...
FAILED tests/[mock_open] - ValueError: unknown configuration ...
FAILED tests/[NonCallableMock] - ValueError: unknown configur...
FAILED tests/[PropertyMock] - ValueError: unknown configurati...
FAILED tests/[sentinel] - ValueError: unknown configuration v...
FAILED tests/ - AssertionError
FAILED tests/ - Failed: nomatch: '* 1 passed in *'
FAILED tests/ - AssertionError
FAILED tests/ - Failed: nomatch: '* 1 passed in *'
FAILED tests/ - Failed: nomatch: '* 1 passed in *'
FAILED tests/ - Failed: nomatch: '* 1 passed in *'
FAILED tests/ - 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
Comment 3 Michael Seifert 2021-10-25 14:31:41 UTC
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?
Comment 4 Arthur Zamarin gentoo-dev 2021-10-25 16:29:02 UTC
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.