meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_7.10.1.bb
Wang Mingyu 366147f537
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>
2025-07-30 08:03:09 -07:00

23 lines
576 B
BlitzBasic

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"