Skip to content

Update dependency pytest-cov to v7#19

Merged
ske-prow[bot] merged 1 commit into
mainfrom
renovate/pytest-cov-7.x
Jun 25, 2026
Merged

Update dependency pytest-cov to v7#19
ske-prow[bot] merged 1 commit into
mainfrom
renovate/pytest-cov-7.x

Conversation

@ske-renovate-operator

@ske-renovate-operator ske-renovate-operator Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
pytest-cov (changelog) 6.3.07.1.0 age confidence

Release Notes

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

v7.1.0

Compare Source

  • Fixed total coverage computation to always be consistent, regardless of reporting settings.
    Previously some reports could produce different total counts, and consequently can make --cov-fail-under behave different depending on
    reporting options.
    See #&#8203;641 <https://github.com/pytest-dev/pytest-cov/issues/641>_.

  • Improve handling of ResourceWarning from sqlite3.

    The plugin adds warning filter for sqlite3 ResourceWarning unclosed database (since 6.2.0).
    It checks if there is already existing plugin for this message by comparing filter regular expression.
    When filter is specified on command line the message is escaped and does not match an expected message.
    A check for an escaped regular expression is added to handle this case.

    With this fix one can suppress ResourceWarning from sqlite3 from command line::

    pytest -W "ignore:unclosed database in <sqlite3.Connection object at:ResourceWarning" ...

  • Various improvements to documentation.
    Contributed by Art Pelling in #&#8203;718 <https://github.com/pytest-dev/pytest-cov/pull/718>_ and
    "vivodi" in #&#8203;738 <https://github.com/pytest-dev/pytest-cov/pull/738>.
    Also closed #&#8203;736 <https://github.com/pytest-dev/pytest-cov/issues/736>
    .

  • Fixed some assertions in tests.
    Contributed by in Markéta Machová in #&#8203;722 <https://github.com/pytest-dev/pytest-cov/pull/722>_.

  • Removed unnecessary coverage configuration copying (meant as a backup because reporting commands had configuration side-effects before coverage 5.0).

v7.0.0

Compare Source

  • Dropped support for subprocesses measurement.

    It was a feature added long time ago when coverage lacked a nice way to measure subprocesses created in tests.
    It relied on a .pth file, there was no way to opt-out and it created bad interations
    with coverage's new patch system <https://coverage.readthedocs.io/en/latest/config.html#run-patch>_ added
    in 7.10 <https://coverage.readthedocs.io/en/7.10.6/changes.html#version-7-10-0-2025-07-24>_.

    To migrate to this release you might need to enable the suprocess patch, example for .coveragerc:

    .. code-block:: ini

    [run]
    patch = subprocess

    This release also requires at least coverage 7.10.6.

  • Switched packaging to have metadata completely in pyproject.toml and use hatchling <https://pypi.org/project/hatchling/>_ for
    building.
    Contributed by Ofek Lev in #&#8203;551 <https://github.com/pytest-dev/pytest-cov/pull/551>_
    with some extras in #&#8203;716 <https://github.com/pytest-dev/pytest-cov/pull/716>_.

  • Removed some not really necessary testing deps like six.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 has been generated by Mend Renovate.

@ske-renovate-operator ske-renovate-operator Bot added the kind/upgrade Upgrading components or dependencies (e.g., by renovate) label Jun 19, 2026
@ske-renovate-operator ske-renovate-operator Bot requested a review from a team June 19, 2026 14:07
@ske-renovate-operator ske-renovate-operator Bot force-pushed the renovate/pytest-cov-7.x branch from 94d9b29 to b21fe75 Compare June 24, 2026 15:00
@ske-prow ske-prow Bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 24, 2026
@ske-prow ske-prow Bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jun 24, 2026
@ske-prow

ske-prow Bot commented Jun 24, 2026

Copy link
Copy Markdown

LGTM label has been added.

DetailsGit tree hash: c7a8373c93bdeadc1646696160c4f80d0585c011

@ske-renovate-operator ske-renovate-operator Bot force-pushed the renovate/pytest-cov-7.x branch from b21fe75 to 3391dd6 Compare June 24, 2026 16:34
@ske-prow ske-prow Bot removed the lgtm Indicates that a PR is ready to be merged. label Jun 24, 2026
@ske-renovate-operator ske-renovate-operator Bot force-pushed the renovate/pytest-cov-7.x branch 2 times, most recently from 63c6100 to 5e0d10e Compare June 25, 2026 12:05
@ske-renovate-operator ske-renovate-operator Bot force-pushed the renovate/pytest-cov-7.x branch from 5e0d10e to 0f629e7 Compare June 25, 2026 12:15
@ske-prow

ske-prow Bot commented Jun 25, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xoxys

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ske-prow ske-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Jun 25, 2026
@ske-prow

ske-prow Bot commented Jun 25, 2026

Copy link
Copy Markdown

LGTM label has been added.

DetailsGit tree hash: 16da613adb622fa74e6e27a0d701374183d4daa8

@ske-prow ske-prow Bot merged commit 086841d into main Jun 25, 2026
2 checks passed
@ske-renovate-operator ske-renovate-operator Bot deleted the renovate/pytest-cov-7.x branch June 25, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/upgrade Upgrading components or dependencies (e.g., by renovate) lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant