Bump pytest-cov from 6.1.1 to 6.2.0
Type: Pull Request
State: Open
Association: Contributor
Comments: 0
(5 months ago)
(5 months ago)
dependencies python
Bumps pytest-cov from 6.1.1 to 6.2.0.
Changelog
Sourced from pytest-cov's changelog.
6.2.0 (2025-06-11)
The plugin now adds 3 rules in the filter warnings configuration to prevent common coverage warnings being raised as obscure errors::
default:unclosed database in <sqlite3.Connection object at:ResourceWarning once::PytestCovWarning once::CoverageWarning
This fixes most of the bad interactions that are occurring on pytest 8.4 with
filterwarnings=error.The plugin will check if there already matching rules for the 3 categories (
ResourceWarning,PytestCovWarning,CoverageWarning) and message (unclosed database in <sqlite3.Connection object at) before adding the filters.This means you can have this in your pytest configuration for complete oblivion (not recommended, if that is not clear)::
filterwarnings = [ "error", "ignore:unclosed database in <sqlite3.Connection object at:ResourceWarning", "ignore::PytestCovWarning", "ignore::CoverageWarning", ]
Commits
dca5723Bump version: 6.1.1 → 6.2.0f69166aAlso trigger the sqlite warning.9dabad3Do not mess with the warnings if the plugin is disabled. Also, upgrade to new...222e991Do some checks before adding the filters to allow users to silence these warn...ddc162bUpdate changelog.22cc4e7Bump.5f6d020Add some basic warnings configuration overrides for the common offenders. Sho...d2a2557Add latest xdist.cc06ea3Make this pass for now.b221fb1Add reproducer for #693.- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
1
+1
-1
Package Dependencies
Technical Details
| ID: | 1494314 |
| UUID: | 2585924338 |
| Node ID: | PR_kwDODtI6Ns6aIhLy |
| Host: | GitHub |
| Repository: | ajosephau/django_coding_challenge |
| Merge State: | Unknown |