Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump coverage from 5.5 to 6.0 #42

Merged
merged 1 commit into from
Oct 4, 2021
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 4, 2021

Bumps coverage from 5.5 to 6.0.

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.0 --- 2021-10-03

  • The coverage html command now prints a message indicating where the HTML report was written. Fixes issue 1195_.

  • The coverage combine command now prints messages indicating each data file being combined. Fixes issue 1105_.

  • The HTML report now includes a sentence about skipped files due to skip_covered or skip_empty settings. Fixes issue 1163_.

  • Unrecognized options in the configuration file are no longer errors. They are now warnings, to ease the use of coverage across versions. Fixes issue 1035_.

  • Fix handling of exceptions through context managers in Python 3.10. A missing exception is no longer considered a missing branch from the with statement. Fixes issue 1205_.

  • Fix another rarer instance of "Error binding parameter 0 - probably unsupported type." (issue 1010_).

  • Creating a directory for the coverage data file now is safer against conflicts when two coverage runs happen simultaneously (pull 1220_). Thanks, Clément Pit-Claudel.

.. _issue 1035: nedbat/coveragepy#1035 .. _issue 1105: nedbat/coveragepy#1105 .. _issue 1163: nedbat/coveragepy#1163 .. _issue 1195: nedbat/coveragepy#1195 .. _issue 1205: nedbat/coveragepy#1205 .. _pull 1220: nedbat/coveragepy#1220

.. _changes_60b1:

Version 6.0b1 --- 2021-07-18

  • Dropped support for Python 2.7, PyPy 2, and Python 3.5.

  • Added support for the Python 3.10 match/case syntax.

  • Data collection is now thread-safe. There may have been rare instances of exceptions raised in multi-threaded programs.

  • Plugins (like the Django coverage plugin) were generating "Already imported a file that will be measured" warnings about Django itself. These have been fixed, closing issue 1150.

... (truncated)

Commits
  • 9515c4d docs: 6.0 sample HTML report
  • e179cf6 build: prep for 6.0 release
  • 5a99516 docs: update the link to shining panda
  • 4d61fff test: fix flaky multiprocessing tests
  • 0ded3df chore: update requirements
  • 5bcfc26 test: update pylint
  • 1677bbb Python 3.10.0rc2
  • 626875f docs: thanks, Clément Pit-Claudel
  • f531212 fix: Avoid a race condition in misc.ensure_dir (#1220)
  • c0a9811 test: another test suggested by Mark Shannon
  • 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)

Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.5 to 6.0.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@coverage-5.5...6.0)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:development
  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 Oct 4, 2021
@aeturrell aeturrell merged commit b39311c into main Oct 4, 2021
@aeturrell aeturrell deleted the dependabot/pip/coverage-6.0 branch October 4, 2021 06:30
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.

None yet

1 participant