diff mbox series

[meta-python,31/61] python3-pytest-mock: Upgrade 3.15.1 -> 3.17.0

Message ID 20261027092028.782979-31-leon.anavi@konsulko.com
State New
Headers show
Series [meta-python,01/61] python3-asgiref: Upgrade 3.12.1 -> 3.13.0 | expand

Commit Message

Leon Anavi Oct. 27, 2026, 9:19 a.m. UTC
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 <leon.anavi@konsulko.com>
---
 ...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 mbox series

Patch

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