Skip to content

⬆️ Update dependency pytest-cov to v6.2.0#593

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/pytest-cov-6.x
Jun 12, 2025
Merged

⬆️ Update dependency pytest-cov to v6.2.0#593
renovate[bot] merged 1 commit intomainfrom
renovate/pytest-cov-6.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Jun 12, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pytest-cov (changelog) 6.1.1 -> 6.2.0 age adoption passing confidence

Release Notes

pytest-dev/pytest-cov (pytest-cov)

v6.2.0

Compare Source

  • 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",
    ]


Configuration

📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. python labels Jun 12, 2025
@renovate renovate bot force-pushed the renovate/pytest-cov-6.x branch from 4a3f811 to 51fcc72 Compare June 12, 2025 01:41
@sonarqubecloud
Copy link
Copy Markdown

@renovate renovate bot merged commit 1465e31 into main Jun 12, 2025
12 checks passed
@renovate renovate bot deleted the renovate/pytest-cov-6.x branch June 12, 2025 08:34
@github-actions github-actions bot locked and limited conversation to collaborators Jun 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Upgrade or downgrade of project dependencies. no-stale This issue or PR is exempted from the stable bot. python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants