From 366147f537318543547e397f7fd96670a7bb063d Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 30 Jul 2025 17:54:39 +0800 Subject: python3-coverage: upgrade 7.9.2 -> 7.10.1 Changelog: ========== - A new configuration option: "[run] patch" specifies named patches to work around some limitations in coverage measurement. - The HTML report now dimly colors subsequent lines in multi-line statements. They used to have no color. This gives a better indication of the amount of code missing in the report. - Two new exclusion patterns are part of the defaults:... is automatically excluded as a line and if TYPE_CHECKING: is excluded as a branch. - A new command-line option: --save-signal=USR1 specifies a signal that coverage.py will listen for. When the signal is sent, the coverage data will be saved. This makes it possible to save data from within long-running processes. - A new configuration option: "[report] partial_also" is a list of regexes to add as pragmas for partial branches. This parallels the "[report] exclude_also" setting for adding line exclusion patterns. - A few file path configuration settings didn't allow for tilde expansion: [json] output, [lcov] output and [run] debug_file. This is now fixed. - Wheels are included for 3.14 now that 3.14 rc1 is available. - We no longer ship a PyPy-specific wheel. PyPy will install the pure-Python wheel. - In the very unusual situation of not having a current frame, coverage no longer crashes when using the sysmon core. - Fix: the exclusion for if TYPE_CHECKING: was wrong: it marked the branch as partial, but it should have been a line exclusion so the entire clause would be excluded. - Fix: changed where .pth files are written for patch = subprocess Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-coverage_7.10.1.bb | 22 ++++++++++++++++++++++ .../python/python3-coverage_7.9.2.bb | 22 ---------------------- 2 files changed, 22 insertions(+), 22 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-coverage_7.10.1.bb delete mode 100644 meta-python/recipes-devtools/python/python3-coverage_7.9.2.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-coverage_7.10.1.bb b/meta-python/recipes-devtools/python/python3-coverage_7.10.1.bb new file mode 100644 index 0000000000..1a97db31ae --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-coverage_7.10.1.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] = "ae2b4856f29ddfe827106794f3589949a57da6f0d38ab01e24ec35107979ba57" + +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" diff --git a/meta-python/recipes-devtools/python/python3-coverage_7.9.2.bb b/meta-python/recipes-devtools/python/python3-coverage_7.9.2.bb deleted file mode 100644 index 16f7127129..0000000000 --- a/meta-python/recipes-devtools/python/python3-coverage_7.9.2.bb +++ /dev/null @@ -1,22 +0,0 @@ -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] = "997024fa51e3290264ffd7492ec97d0690293ccd2b45a6cd7d82d945a4a80c8b" - -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