diff mbox series

[meta-python] python3-mock: upgrade 5.0.2 -> 5.1.0

Message ID 1689654348-30702-32-git-send-email-wangmy@fujitsu.com
State Under Review
Headers show
Series [meta-python] python3-mock: upgrade 5.0.2 -> 5.1.0 | expand

Commit Message

Mingyu Wang (Fujitsu) July 18, 2023, 4:25 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

Changelog:
===========
-bpo-44185: :func:'unittest.mock.mock_open' will call the :func:'close' method
 of the file handle mock when it is exiting from the context manager.
-gh-94924: :func:'unittest.mock.create_autospec' now properly returns coroutine
 functions compatible with :func:'inspect.iscoroutinefunction'
-bpo-17013: Add ThreadingMock to :mod:'unittest.mock' that can be used to create
 Mock objects that can wait until they are called.
-bpo-41768: :mod:'unittest.mock' speccing no longer calls class properties.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../python/{python3-mock_5.0.2.bb => python3-mock_5.1.0.bb}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-mock_5.0.2.bb => python3-mock_5.1.0.bb} (83%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-mock_5.0.2.bb b/meta-python/recipes-devtools/python/python3-mock_5.1.0.bb
similarity index 83%
rename from meta-python/recipes-devtools/python/python3-mock_5.0.2.bb
rename to meta-python/recipes-devtools/python/python3-mock_5.1.0.bb
index 6b511d82f7..d9ecb9d4c8 100644
--- a/meta-python/recipes-devtools/python/python3-mock_5.0.2.bb
+++ b/meta-python/recipes-devtools/python/python3-mock_5.1.0.bb
@@ -16,4 +16,4 @@  RDEPENDS:${PN} += " \
     python3-unittest \
 "
 
-SRC_URI[sha256sum] = "06f18d7d65b44428202b145a9a36e99c2ee00d1eb992df0caf881d4664377891"
+SRC_URI[sha256sum] = "5e96aad5ccda4718e0a229ed94b2024df75cc2d55575ba5762d31f5767b8767d"