Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Feb 19, 2024

Bumps gcovr from 5.0 to 7.0.

Release notes

Sourced from gcovr's releases.

7.0

Breaking changes:

  • Dropped support for Python 3.7 (#869)
  • The exit code for an error of the reader module is changed from 8 to 64 and for a writer from 7 to 128. (#773)

New features and notable changes:

  • Add --html-template-dir option to use custom Jinja2 templates (#758)
  • Add block numbers and md5 sums of code lines to data model. (#764)
  • If the CSS given with option --html-css contains the string /* Comment.Preproc */ no pygments CSS is added anymore. (#786)
  • Add support for Devcontainer and GitHub Codespaces. (#771)
  • Fix Dockerfile.qa to avoid uid conflicts. (#801)
  • Pygments required ≥ 2.13.0. (#799)
  • Add a second theme for HTML report inspired by GitHub. (#793)
  • Add option --fail-under-decision and option --fail-under-function which will error under a given minimum coverage. (#773)
  • Add function coverage to data model. (#822)
  • Add support for importing Cobertura XML files with --cobertura-add-tracefile option. (#805)
  • Add option --jacoco to generate JaCoCo XML format. (#823))
  • Add function coverage to HTML report. (#828)
  • Improve sorting of data in reports (#817):
    • Sort file names alpha numerical and with casefold (see str.casefold <https://docs.python.org/3.11/library/stdtypes.html?highlight=str%20casefold#str.casefold>_) (file_10.c comes after file_0.c).
    • Always sort at the end by filename if line or branch coverage is identical for a file.
    • Add option --sort-branches to sort by branches instead of lines, this is the default if option --txt-branches is used.
    • Add option --sort-reverse to reverse the sort order.
  • Add option to report covered lines in txt report. (#836)
  • Add support for specifying files for option search_paths. (#834)
  • Use different color for partial covered lines in HTML report. (#839)
  • Add support to generate LCOV info files. (#830)
  • Add support for FIPS enabled OS when used with Python 3.9. (#850)
  • Reduce file size for detailed HTML reports by merging columns the function lists. (#840)
  • Ignore all negative hits if option --gcov-ignore-parse-errors is used. (#852)
  • Use literal options for sorting and TXT metric. (#867)
    • The option -b, option --txt-branches and option --branches are deprecated, use option --txt-metric instead. The reason for this is that we have line, branch and decision coverage and handle this with flags is more complex than using an enumeration.
    • The option --sort-uncovered and option --sort-percentage are deprecated, use option --sort instead. The reason for this is that only one sorting order shall be selectable and and an enumeration is easier to handle than several flags.
  • The development branch is renamed from master to main. (#829, #873)
  • Add support for decision coverage metric in text report (#864)
  • Split list of functions into tables with maximum 10000 rows to fix rendering issues. (#858)

Bug fixes and small improvements:

  • Print calls and decision statistics in summary only if values are gathered. (#749)
  • Log the thread name if option -j is used. (#752)
  • Collapse also root directory if needed in nested HTML report. (#750)
  • Handle special case of absolute source file paths in gcov output. (#776)
  • Ignore exit code 6 when running gcov (output write error introduced gcc-12). (#781)

... (truncated)

Changelog

Sourced from gcovr's changelog.

7.0 (25 January 2024)

Known bugs:

Breaking changes:

  • Dropped support for Python 3.7 (:issue:869)
  • The exit code for an error of the reader module is changed from 8 to 64 and for a writer from 7 to 128. (:issue:773)

New features and notable changes:

  • Add --html-template-dir option to use custom Jinja2 templates. (:issue:758)

  • Add block numbers and md5 sums of code lines to data model. (:issue:764)

  • If the CSS given with :option:--html-css contains the string /* Comment.Preproc */ no pygments CSS is added anymore. (:issue:786)

  • Add support for Devcontainer and GitHub Codespaces. (:issue:771)

  • Fix Dockerfile.qa to avoid uid conflicts. (:issue:801)

  • Pygments required ≥ 2.13.0. (:issue:799)

  • Add a second theme for HTML report inspired by GitHub. (:issue:793)

  • Add :option:--fail-under-decision and :option:--fail-under-function which will error under a given minimum coverage. (:issue:773)

  • Add function coverage to data model. (:issue:822)

  • Add support for importing Cobertura XML files with --cobertura-add-tracefile option. (:issue:805)

  • Add :option:--jacoco to generate JaCoCo XML format. (:issue:823))

  • Add function coverage to HTML report. (:issue:828)

  • Improve sorting of data in reports. (:issue:817):

    • Sort file names alpha numerical and with casefold (see str.casefold <https://docs.python.org/3.11/library/stdtypes.html?highlight=str%20casefold#str.casefold>_) (file_10.c comes after file_0.c).
    • Always sort at the end by filename if line or branch coverage is identical for a file.
    • Add :option:--sort-branches to sort by branches instead of lines, this is the default if :option:--txt-branches is used.
    • Add :option:--sort-reverse to reverse the sort order.
  • Add option to report covered lines in txt report. (:issue:836)

  • Add support for specifying files for :option:search_paths. (:issue:834)

  • Use different color for partial covered lines in HTML report. (:issue:839)

  • Add support to generate LCOV info files. (:issue:830)

  • Add support for FIPS enabled OS when used with Python 3.9. (:issue:850)

  • Reduce file size for detailed HTML reports by merging columns the function lists. (:issue:840)

  • Ignore all negative hits if :option:--gcov-ignore-parse-errors is used. (:issue:852)

  • Use literal options for sorting and TXT metric. (:issue:867)

    • The :option:-b, :option:--txt-branches and :option:--branches are deprecated, use :option:--txt-metric instead. The reason for this is that we have line, branch and decision coverage and handle this with flags is more complex than using an enumeration.
    • The :option:--sort-uncovered and :option:--sort-percentage are deprecated, use :option:--sort instead. The reason for this is that only one sorting order shall be selectable and and an enumeration is easier to handle than several flags.
  • The development branch is renamed from master to main. (:issue:829, :issue:873)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [gcovr](https://github.com/gcovr/gcovr) from 5.0 to 7.0.
- [Release notes](https://github.com/gcovr/gcovr/releases)
- [Changelog](https://github.com/gcovr/gcovr/blob/main/CHANGELOG.rst)
- [Commits](gcovr/gcovr@5.0...7.0)

---
updated-dependencies:
- dependency-name: gcovr
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 19, 2024
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 26, 2024

Superseded by #36.

@dependabot dependabot bot closed this Feb 26, 2024
@dependabot dependabot bot deleted the dependabot/pip/dot-ci/gcovr-7.0 branch February 26, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant