mdn / kuma

The project that powers MDN.
https://developer.mozilla.org
Mozilla Public License 2.0
1.93k stars 679 forks source link

Bump coverage from 5.5 to 6.3 #8030

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps coverage from 5.5 to 6.3.

Release notes

Sourced from coverage's releases.

coverage-5.6b1

  • Third-party packages are now ignored in coverage reporting. This solves a few problems:
    • Coverage will no longer report about other people’s code (issue 876). This is true even when using --source=. with a venv in the current directory.
    • Coverage will no longer generate “Already imported a file that will be measured” warnings about coverage itself (issue 905).
  • The HTML report uses j/k to move up and down among the highlighted chunks of code. They used to highlight the current chunk, but 5.0 broke that behavior. Now the highlighting is working again.
  • The JSON report now includes percent_covered_display, a string with the total percentage, rounded to the same number of decimal places as the other reports’ totals.
Changelog

Sourced from coverage's changelog.

Version 6.3 — 2022-01-25

  • Feature: Added the lcov command to generate reports in LCOV format. Thanks, Bradley Burns <pull 1289_>. Closes issues 587 <issue 587_> and 626 <issue 626_>_.

  • Feature: the coverage data file can now be specified on the command line with the --data-file option in any command that reads or writes data. This is in addition to the existing COVERAGE_FILE environment variable. Closes issue 624. Thanks, Nikita Bloshchanevich <pull 1304_>.

  • Feature: coverage measurement data will now be written when a SIGTERM signal is received by the process. This includes :meth:Process.terminate <python:multiprocessing.Process.terminate>, and other ways to terminate a process. Currently this is only on Linux and Mac; Windows is not supported. Fixes issue 1307_.

  • Dropped support for Python 3.6, which reached end-of-life on 2021-12-23.

  • Updated Python 3.11 support to 3.11.0a4, fixing issue 1294_.

  • Fix: the coverage data file is now created in a more robust way, to avoid problems when multiple processes are trying to write data at once. Fixes issues 1303 <issue 1303_>_ and 883 <issue 883_>_.

  • Fix: a .gitignore file will only be written into the HTML report output directory if the directory is empty. This should prevent certain unfortunate accidents of writing the file where it is not wanted.

  • Releases now have MacOS arm64 wheels for Apple Silicon, fixing issue 1288_.

.. _issue 587: nedbat/coveragepy#587 .. _issue 624: nedbat/coveragepy#624 .. _issue 626: nedbat/coveragepy#626 .. _issue 883: nedbat/coveragepy#883 .. _issue 1288: nedbat/coveragepy#1288 .. _issue 1294: nedbat/coveragepy#1294 .. _issue 1303: nedbat/coveragepy#1303 .. _issue 1307: nedbat/coveragepy#1307 .. _pull 1289: nedbat/coveragepy#1289 .. _pull 1304: nedbat/coveragepy#1304

.. _changes_62:

Version 6.2 — 2021-11-26

  • Feature: Now the --concurrency setting can now have a list of values, so

... (truncated)

Commits
  • 7d9d300 build: 'pypy' is pypy-3.6, which we don't support anymore
  • 97d78e6 build: prepping for 6.3
  • fb3f632 docs: latest sample HTML report
  • 2e65e19 docs: make it easier to add command-line options correctly
  • bf8cbe1 fix: more cleanup of --data-file options
  • f9a5451 docs: touch up the changelog
  • 2ff2439 style: uniform formatting of cmdline options
  • 1a75ebb refactor: adjust some of the --data-file option handling
  • ba884e4 feat: use --data-file to configure the coverage database
  • cfe14c2 build: stop deleting 3.9 muslinux wheels, because they are ok now. #1268
  • Additional commits viewable in compare view


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 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)
codecov-commenter commented 2 years ago

Codecov Report

Merging #8030 (6b9278d) into main (0ab25fb) will not change coverage. The diff coverage is n/a.

:exclamation: Current head 6b9278d differs from pull request most recent head f8e8146. Consider uploading reports for the commit f8e8146 to get more accurate results Impacted file tree graph

@@           Coverage Diff           @@
##             main    #8030   +/-   ##
=======================================
  Coverage   82.28%   82.28%           
=======================================
  Files          71       71           
  Lines        2495     2495           
  Branches      200      260   +60     
=======================================
  Hits         2053     2053           
  Misses        411      411           
  Partials       31       31           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0ab25fb...f8e8146. Read the comment docs.

dependabot[bot] commented 2 years ago

Superseded by #8032.