diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2026-01-09 17:59:27 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-01-12 08:53:49 -0800 |
| commit | 56f4b30c99e7f0b784259705c5610e6d13ebc30c (patch) | |
| tree | b219a5a8263af9248db6a54fd747a83dcab28812 /meta-python | |
| parent | 988b5182c9e8a8855aab2232ccb7fe00be99f9c1 (diff) | |
| download | meta-openembedded-56f4b30c99e7f0b784259705c5610e6d13ebc30c.tar.gz | |
python3-gcovr: Upgrade 8.3 -> 8.5
Upgrade to release 8.5:
Breaking changes:
- The option --lcov-test-name doesn't accept values with spaces
anymore.
- The option --lcov-format-1.x is deprecated and mapped to
--lcov-format-version=1.x.
- Changes to HTML templates.
New features and notable changes:
- Due to added support for LLVM source based code coverage format
some configuration file keys got changed. The old gcov named
options are still supported but they also affect the LLVM
toolchain.
Bug fixes and small improvements:
- Fix coveralls report if there are several coverage elements per
line.
- Fix not excluded conditions if branches are excluded by comments.
- Fix reported excluded branches in LCOV report.
- Fix exclusion filter --gcov-exclude.
- Add --json-trace-data-source to include the trace data source in
the JSON report independent from --verbose.
- Remove generated gcov files on error and catch additional gcov
error message.
- Change default HTML theme excluded line color.
- Move theme colors to a separate CSS file so they can be overridden
with a simple --html-template-dir directory with only the
style.colors.css file.
- Fix regular expression for detecting a version mismatch between
gcc and gcov.
- Improve logging messages for GCOV execution errors to not print
information twice and add trace messages for gcov execution.
- Fix handling of lines after function specialization.
- Improve performance by changing logging messages (level and lazy
interpolation).
- Fix text report for covered decisions.
- Fix runtime problem introduced with 8.4.
- Fix wrong entries in data source attribute of JSON report.
- Fix nested HTML report without coverage data.
- Add warning if coverage data is empty.
- Add warning if function lines are missing in external generated
GCOV files.
- Extend support for zipped reports. If last suffix is .xz then
LZMA is used to compress the report.
- Fix function exclusion in report generation.
- Do not ignore lines without functions, e.g. from inlined code.
- Ignore all whitespaces instead of only spaces for detection of
noncode lines.
- Add support for temporary merging line coverage objects without
modifying the data model.
- Change internal behavior of --exclude-function-lines to exclude
the line of function definition instead of removing it completely.
- Ensure that all functions have a line coverage element in LCOV
report.
License-Update: Update years
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch | 12 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-gcovr_8.5.bb (renamed from meta-python/recipes-devtools/python/python3-gcovr_8.3.bb) | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch b/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch index b06acdf333..2e422cd8fc 100644 --- a/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch +++ b/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch | |||
| @@ -20,12 +20,12 @@ index f8e54eb03..e6242f042 100644 | |||
| 20 | 20 | ||
| 21 | [build-system] | 21 | [build-system] |
| 22 | requires = [ | 22 | requires = [ |
| 23 | - "hatchling==1.26.1", | 23 | - "hatchling==1.27.0", |
| 24 | - "hatch-vcs==0.4.0", | 24 | - "hatch-vcs==0.5.0", |
| 25 | - "hatch-fancy-pypi-readme==24.1.0" | 25 | - "hatch-fancy-pypi-readme==25.1.0", |
| 26 | + "hatchling>=1.26.1", | 26 | + "hatchling>=1.27.0", |
| 27 | + "hatch-vcs>=0.4.0", | 27 | + "hatch-vcs>=0.5.0", |
| 28 | + "hatch-fancy-pypi-readme>=24.1.0" | 28 | + "hatch-fancy-pypi-readme>=25.1.0" |
| 29 | ] | 29 | ] |
| 30 | build-backend = "hatchling.build" | 30 | build-backend = "hatchling.build" |
| 31 | 31 | ||
diff --git a/meta-python/recipes-devtools/python/python3-gcovr_8.3.bb b/meta-python/recipes-devtools/python/python3-gcovr_8.5.bb index 4f0b6bb150..68cc9bc274 100644 --- a/meta-python/recipes-devtools/python/python3-gcovr_8.3.bb +++ b/meta-python/recipes-devtools/python/python3-gcovr_8.5.bb | |||
| @@ -2,13 +2,13 @@ DESCRIPTION = "generate GCC code coverage reports" | |||
| 2 | HOMEPAGE = "https://gcovr.com" | 2 | HOMEPAGE = "https://gcovr.com" |
| 3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
| 4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ae27363fce24765bc79a095313a3b002" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ba06c93410cc51bafc66fa06456879bf" |
| 6 | 6 | ||
| 7 | SRC_URI = " \ | 7 | SRC_URI = " \ |
| 8 | git://github.com/gcovr/gcovr.git;branch=main;protocol=https \ | 8 | git://github.com/gcovr/gcovr.git;branch=main;protocol=https \ |
| 9 | file://0001-pyproject.toml-Support-newer-versions.patch \ | 9 | file://0001-pyproject.toml-Support-newer-versions.patch \ |
| 10 | " | 10 | " |
| 11 | SRCREV = "fe536afac4da31e86909191ef31708755ab8cf83" | 11 | SRCREV = "71eedb8f300612d4095f2ffa4ac60e3fdd58c192" |
| 12 | 12 | ||
| 13 | 13 | ||
| 14 | inherit python_hatchling | 14 | inherit python_hatchling |
