Skip to content

Commit

Permalink
Bump coverage from 5.5 to 6.0 (#55)
Browse files Browse the repository at this point in the history
Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.5 to 6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/nedbat/coveragepy/releases">coverage's releases</a>.</em></p>
<blockquote>
<h2>coverage-5.6b1</h2>
<ul>
<li>Third-party packages are now ignored in coverage reporting. This solves a few problems:
<ul>
<li>Coverage will no longer report about other people’s code (<a href="https://github-redirect.dependabot.com/nedbat/coveragepy/issues/876">issue 876</a>). This is true even when using <code>--source=.</code> with a venv in the current directory.</li>
<li>Coverage will no longer generate “Already imported a file that will be measured” warnings about coverage itself (<a href="https://github-redirect.dependabot.com/nedbat/coveragepy/issues/905">issue 905</a>).</li>
</ul>
</li>
<li>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.</li>
<li>The JSON report now includes <code>percent_covered_display</code>, a string with the total percentage, rounded to the same number of decimal places as the other reports’ totals.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst">coverage's changelog</a>.</em></p>
<blockquote>
<h2>Version 6.0 --- 2021-10-03</h2>
<ul>
<li>
<p>The <code>coverage html</code> command now prints a message indicating where the HTML
report was written.  Fixes <code>issue 1195</code>_.</p>
</li>
<li>
<p>The <code>coverage combine</code> command now prints messages indicating each data
file being combined.  Fixes <code>issue 1105</code>_.</p>
</li>
<li>
<p>The HTML report now includes a sentence about skipped files due to
<code>skip_covered</code> or <code>skip_empty</code> settings.  Fixes <code>issue 1163</code>_.</p>
</li>
<li>
<p>Unrecognized options in the configuration file are no longer errors. They are
now warnings, to ease the use of coverage across versions.  Fixes <code>issue 1035</code>_.</p>
</li>
<li>
<p>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 <code>issue 1205</code>_.</p>
</li>
<li>
<p>Fix another rarer instance of &quot;Error binding parameter 0 - probably
unsupported type.&quot; (<code>issue 1010</code>_).</p>
</li>
<li>
<p>Creating a directory for the coverage data file now is safer against
conflicts when two coverage runs happen simultaneously (<code>pull 1220</code>_).
Thanks, Clément Pit-Claudel.</p>
</li>
</ul>
<p>.. _issue 1035: <a href="https://github-redirect.dependabot.com/nedbat/coveragepy/issues/1035">nedbat/coveragepy#1035</a>
.. _issue 1105: <a href="https://github-redirect.dependabot.com/nedbat/coveragepy/issues/1105">nedbat/coveragepy#1105</a>
.. _issue 1163: <a href="https://github-redirect.dependabot.com/nedbat/coveragepy/issues/1163">nedbat/coveragepy#1163</a>
.. _issue 1195: <a href="https://github-redirect.dependabot.com/nedbat/coveragepy/issues/1195">nedbat/coveragepy#1195</a>
.. _issue 1205: <a href="https://github-redirect.dependabot.com/nedbat/coveragepy/issues/1205">nedbat/coveragepy#1205</a>
.. _pull 1220: <a href="https://github-redirect.dependabot.com/nedbat/coveragepy/pull/1220">nedbat/coveragepy#1220</a></p>
<p>.. _changes_60b1:</p>
<h2>Version 6.0b1 --- 2021-07-18</h2>
<ul>
<li>
<p>Dropped support for Python 2.7, PyPy 2, and Python 3.5.</p>
</li>
<li>
<p>Added support for the Python 3.10 <code>match/case</code> syntax.</p>
</li>
<li>
<p>Data collection is now thread-safe.  There may have been rare instances of
exceptions raised in multi-threaded programs.</p>
</li>
<li>
<p>Plugins (like the <code>Django coverage plugin</code><em>) were generating &quot;Already
imported a file that will be measured&quot; warnings about Django itself.  These
have been fixed, closing <code>issue 1150</code></em>.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/nedbat/coveragepy/commit/9515c4da0749bcc8003f28a3759a418a0194db4b"><code>9515c4d</code></a> docs: 6.0 sample HTML report</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/e179cf6d4abffe56ef04b07202865363f53bb814"><code>e179cf6</code></a> build: prep for 6.0 release</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/5a995166b2215ebb14273715e189fbfb8d4b75c0"><code>5a99516</code></a> docs: update the link to shining panda</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/4d61fff19caa797947d8818d711227ad85a8aed5"><code>4d61fff</code></a> test: fix flaky multiprocessing tests</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/0ded3df77d1bea48f98c33608f2c251a2da0744b"><code>0ded3df</code></a> chore: update requirements</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/5bcfc263c54cb0229b6a39840ab961005536818e"><code>5bcfc26</code></a> test: update pylint</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/1677bbb3d8ca809d5c5e25248f08e065af85cde7"><code>1677bbb</code></a> Python 3.10.0rc2</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/626875fece634c7c68bc680a46d4434fb953d1fd"><code>626875f</code></a> docs: thanks, Clément Pit-Claudel</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/f531212a2c26700737282f0b409381adf9e30dd9"><code>f531212</code></a> fix: Avoid a race condition in misc.ensure_dir (<a href="https://github-redirect.dependabot.com/nedbat/coveragepy/issues/1220">#1220</a>)</li>
<li><a href="https://github.com/nedbat/coveragepy/commit/c0a981148c05c0332e2fd51d426d880055959ca6"><code>c0a9811</code></a> test: another test suggested by Mark Shannon</li>
<li>Additional commits viewable in <a href="https://github.com/nedbat/coveragepy/compare/coverage-5.5...6.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=coverage&package-manager=pip&previous-version=5.5&new-version=6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>
  • Loading branch information
dependabot[bot] committed Oct 4, 2021
1 parent 1c213a7 commit bf0b78c
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 58 deletions.
109 changes: 52 additions & 57 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -44,7 +44,7 @@ wheel = "0.36.2"
watchdog = "2.1.5"
flake8 = "3.9.2"
tox = "3.24.4"
coverage = "5.5"
coverage = "6.0"
twine = "3.4.2"
pytest = "6.2.5"
pytest-runner = "5.3.1"
Expand Down

0 comments on commit bf0b78c

Please sign in to comment.