summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-coverage_7.10.1.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2025-07-30 17:54:39 +0800
committerKhem Raj <raj.khem@gmail.com>2025-07-30 08:03:09 -0700
commit366147f537318543547e397f7fd96670a7bb063d (patch)
tree66cc0a9bd68ccb10e6c7af25bd028b944a2d5090 /meta-python/recipes-devtools/python/python3-coverage_7.10.1.bb
parent4aaba1473d37b8148b04e5aa36dcff468a26361d (diff)
downloadmeta-openembedded-366147f537318543547e397f7fd96670a7bb063d.tar.gz
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 <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-coverage_7.10.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-coverage_7.10.1.bb22
1 files changed, 22 insertions, 0 deletions
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 @@
1SUMMARY = "Code coverage measurement for Python"
2HOMEPAGE = "https://coverage.readthedocs.io"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93"
5
6SRC_URI[sha256sum] = "ae2b4856f29ddfe827106794f3589949a57da6f0d38ab01e24ec35107979ba57"
7
8inherit pypi python_setuptools_build_meta
9
10RDEPENDS:${PN} += " \
11 python3-crypt \
12 python3-io \
13 python3-json \
14 python3-multiprocessing \
15 python3-pprint \
16 python3-shell \
17 python3-sqlite3 \
18 python3-tomllib \
19 python3-xml \
20"
21
22BBCLASSEXTEND = "native nativesdk"