From 7433f87f3283bea65cab270ac6d5058eeb2a19a2 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 25 Nov 2025 17:11:46 +0800 Subject: python3-coverage: upgrade 7.11.3 -> 7.12.0 Changelog: ============ - The HTML report now shows separate coverage totals for statements and branches, as well as the usual combined coverage percentage. - The JSON report now includes separate coverage totals for statements and branches - Fix: except* clauses were not handled properly under the "sysmon" measurement core, causing KeyError exceptions - Fix: we now defend against aggressive mocking of open() that could cause errors inside coverage.py. - Fix: in unusual cases where a test suite intentionally exhausts the system's file descriptors to test handling errors in open(), coverage.py would fail when trying to open source files - A small tweak to the HTML report: file paths now use thin spaces around slashes to make them easier to read. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-coverage_7.12.0.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-coverage_7.12.0.bb (limited to 'meta-python/recipes-devtools/python/python3-coverage_7.12.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-coverage_7.12.0.bb b/meta-python/recipes-devtools/python/python3-coverage_7.12.0.bb new file mode 100644 index 0000000000..b3a3a4e7ef --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-coverage_7.12.0.bb @@ -0,0 +1,22 @@ +SUMMARY = "Code coverage measurement for Python" +HOMEPAGE = "https://coverage.readthedocs.io" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93" + +SRC_URI[sha256sum] = "fc11e0a4e372cb5f282f16ef90d4a585034050ccda536451901abfb19a57f40c" + +inherit pypi python_setuptools_build_meta + +RDEPENDS:${PN} += " \ + python3-crypt \ + python3-io \ + python3-json \ + python3-multiprocessing \ + python3-pprint \ + python3-shell \ + python3-sqlite3 \ + python3-tomllib \ + python3-xml \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf