From c916e99b50bda52de798e9d0ca98695b2812dd1d Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 24 Apr 2023 11:24:34 +0800 Subject: python3-mock: upgrade 5.0.1 -> 5.0.2 Changelog: ========== gh-102978: Fixes :func:'unittest.mock.patch' not enforcing function signatures for methods decorated with @classmethod or @staticmethod when patch is called with autospec=True. gh-103329: Regression tests for the behaviour of unittest.mock.PropertyMock were added. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-mock_5.0.1.bb | 16 ---------------- .../recipes-devtools/python/python3-mock_5.0.2.bb | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-mock_5.0.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-mock_5.0.2.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-mock_5.0.1.bb b/meta-python/recipes-devtools/python/python3-mock_5.0.1.bb deleted file mode 100644 index b916a7b4e7..0000000000 --- a/meta-python/recipes-devtools/python/python3-mock_5.0.1.bb +++ /dev/null @@ -1,16 +0,0 @@ -DESCRIPTION = "A Python Mocking and Patching Library for Testing" -HOMEPAGE = "https://pypi.python.org/pypi/mock" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=de9dfbf780446b18aab11f00baaf5b7e" - -inherit pypi setuptools3 - -RDEPENDS:${PN} += "${PYTHON_PN}-prettytable \ - ${PYTHON_PN}-cmd2 \ - ${PYTHON_PN}-pyparsing \ - ${PYTHON_PN}-mccabe \ - ${PYTHON_PN}-pep8 \ - ${PYTHON_PN}-pyflakes" - -SRC_URI[sha256sum] = "e3ea505c03babf7977fd21674a69ad328053d414f05e6433c30d8fa14a534a6b" diff --git a/meta-python/recipes-devtools/python/python3-mock_5.0.2.bb b/meta-python/recipes-devtools/python/python3-mock_5.0.2.bb new file mode 100644 index 0000000000..633b6f2776 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-mock_5.0.2.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "A Python Mocking and Patching Library for Testing" +HOMEPAGE = "https://pypi.python.org/pypi/mock" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=de9dfbf780446b18aab11f00baaf5b7e" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += "${PYTHON_PN}-prettytable \ + ${PYTHON_PN}-cmd2 \ + ${PYTHON_PN}-pyparsing \ + ${PYTHON_PN}-mccabe \ + ${PYTHON_PN}-pep8 \ + ${PYTHON_PN}-pyflakes" + +SRC_URI[sha256sum] = "06f18d7d65b44428202b145a9a36e99c2ee00d1eb992df0caf881d4664377891" -- cgit v1.2.3-54-g00ecf