From ac8b9b8f136712149225347bae9af1ef40a2221d Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 27 Oct 2026 11:19:58 +0200 Subject: [PATCH] python3-pytest-mock: Upgrade 3.15.1 -> 3.17.0 Upgrade to release 3.17.0: - Failures of mock assertions such as assert_called_with are again reported only once, instead of two or three times with the original error from the mock module chained before them. - Mock assertion failures no longer show misleading introspection when they are not about the arguments of the last call: assert_called, assert_called_once, assert_not_called, assert_any_call, their await counterparts, and assert_called_once_with/assert_awaited_once_with when the mock was not called (awaited) exactly once. The introspection also no longer reports arguments passed by position versus by keyword as different for autospecced mocks, and no longer shows empty Args:/Kwargs: sections when assertion rewriting is not available. - assert_has_calls and assert_has_awaits failures no longer show pytest introspection, which compared the expected and actual calls position by position and so reported differences between unrelated calls. The mock's own message, listing the expected and actual calls, is still shown. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- ...hon3-pytest-mock_3.15.1.bb => python3-pytest-mock_3.17.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-pytest-mock_3.15.1.bb => python3-pytest-mock_3.17.0.bb} (88%) diff --git a/meta-python/recipes-devtools/python/python3-pytest-mock_3.15.1.bb b/meta-python/recipes-devtools/python/python3-pytest-mock_3.17.0.bb similarity index 88% rename from meta-python/recipes-devtools/python/python3-pytest-mock_3.15.1.bb rename to meta-python/recipes-devtools/python/python3-pytest-mock_3.17.0.bb index e4951d54cb..6bbc8511d4 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-mock_3.15.1.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-mock_3.17.0.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = " \ SRC_URI += " \ file://run-ptest \ " -SRC_URI[sha256sum] = "1849a238f6f396da19762269de72cb1814ab44416fa73a8686deac10b0d87a0f" +SRC_URI[sha256sum] = "e36576e0985e01027e999891e7a966c67822d40c89ef1b4c8b6e22737e3590b4" inherit pypi python_setuptools_build_meta ptest