Skip to content

Commit e8a7d4d

Browse files
Bump pytest-cov from 6.1.1 to 6.2.0 (#11188)
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 6.1.1 to 6.2.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst">pytest-cov's changelog</a>.</em></p> <blockquote> <h2>6.2.0 (2025-06-11)</h2> <ul> <li> <p>The plugin now adds 3 rules in the filter warnings configuration to prevent common coverage warnings being raised as obscure errors::</p> <p>default:unclosed database in &lt;sqlite3.Connection object at:ResourceWarning once::PytestCovWarning once::CoverageWarning</p> <p>This fixes most of the bad interactions that are occurring on pytest 8.4 with <code>filterwarnings=error</code>.</p> <p>The plugin will check if there already matching rules for the 3 categories (<code>ResourceWarning</code>, <code>PytestCovWarning</code>, <code>CoverageWarning</code>) and message (<code>unclosed database in &lt;sqlite3.Connection object at</code>) before adding the filters.</p> <p>This means you can have this in your pytest configuration for complete oblivion (not recommended, if that is not clear)::</p> <p>filterwarnings = [ &quot;error&quot;, &quot;ignore:unclosed database in &lt;sqlite3.Connection object at:ResourceWarning&quot;, &quot;ignore::PytestCovWarning&quot;, &quot;ignore::CoverageWarning&quot;, ]</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/dca5723086a00e8c145a84761b0ce810a8079892"><code>dca5723</code></a> Bump version: 6.1.1 → 6.2.0</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/f69166a08444db4736c611cdc7746eeac9a2f158"><code>f69166a</code></a> Also trigger the sqlite warning.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/9dabad3f6baa8e3b66bb20e26ec65eabfbbbd604"><code>9dabad3</code></a> Do not mess with the warnings if the plugin is disabled. Also, upgrade to new...</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/222e991a8d6e39c4440ab85a1a8b621a6a03e608"><code>222e991</code></a> Do some checks before adding the filters to allow users to silence these warn...</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/ddc162b2bb175df13ba71184b6329dc8a6a0b1da"><code>ddc162b</code></a> Update changelog.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/22cc4e79190bc6cda738397a225b4a723934b5f7"><code>22cc4e7</code></a> Bump.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/5f6d020049045d42583b90cd6882713cc597b89b"><code>5f6d020</code></a> Add some basic warnings configuration overrides for the common offenders. Sho...</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/d2a2557d96b8526be2fd17eccd6bed352e2dbe65"><code>d2a2557</code></a> Add latest xdist.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/cc06ea33c6130d0c128128efe238530003a7425b"><code>cc06ea3</code></a> Make this pass for now.</li> <li><a href="https://github.com/pytest-dev/pytest-cov/commit/b221fb1bfa5c90622881789a106a91ed9750a4f3"><code>b221fb1</code></a> Add reproducer for <a href="https://redirect.github.com/pytest-dev/pytest-cov/issues/693">#693</a>.</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-cov/compare/v6.1.1...v6.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest-cov&package-manager=pip&previous-version=6.1.1&new-version=6.2.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 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) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 269f6e2 commit e8a7d4d

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

requirements/constraints.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@ pkgconfig==1.5.5
143143
platformdirs==4.3.8
144144
# via virtualenv
145145
pluggy==1.6.0
146-
# via pytest
146+
# via
147+
# pytest
148+
# pytest-cov
147149
pre-commit==4.2.0
148150
# via -r requirements/lint.in
149151
propcache==0.3.2
@@ -186,7 +188,7 @@ pytest-codspeed==3.2.0
186188
# via
187189
# -r requirements/lint.in
188190
# -r requirements/test.in
189-
pytest-cov==6.1.1
191+
pytest-cov==6.2.1
190192
# via -r requirements/test.in
191193
pytest-mock==3.14.1
192194
# via

requirements/dev.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ pkgconfig==1.5.5
140140
platformdirs==4.3.8
141141
# via virtualenv
142142
pluggy==1.6.0
143-
# via pytest
143+
# via
144+
# pytest
145+
# pytest-cov
144146
pre-commit==4.2.0
145147
# via -r requirements/lint.in
146148
propcache==0.3.2
@@ -181,7 +183,7 @@ pytest-codspeed==3.2.0
181183
# via
182184
# -r requirements/lint.in
183185
# -r requirements/test.in
184-
pytest-cov==6.1.1
186+
pytest-cov==6.2.1
185187
# via -r requirements/test.in
186188
pytest-mock==3.14.1
187189
# via

requirements/test.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ pathspec==0.12.1
7676
pkgconfig==1.5.5
7777
# via -r requirements/test.in
7878
pluggy==1.6.0
79-
# via pytest
79+
# via
80+
# pytest
81+
# pytest-cov
8082
propcache==0.3.2
8183
# via
8284
# -r requirements/runtime-deps.in
@@ -102,7 +104,7 @@ pytest==8.3.5
102104
# pytest-xdist
103105
pytest-codspeed==3.2.0
104106
# via -r requirements/test.in
105-
pytest-cov==6.1.1
107+
pytest-cov==6.2.1
106108
# via -r requirements/test.in
107109
pytest-mock==3.14.1
108110
# via -r requirements/test.in

0 commit comments

Comments
 (0)