Skip to content

chore(deps): update dependency coverage to v7.10.1#220

Merged
dreadnode-renovate-bot[bot] merged 1 commit intomainfrom
renovate/coverage-7.x-lockfile
Jul 28, 2025
Merged

chore(deps): update dependency coverage to v7.10.1#220
dreadnode-renovate-bot[bot] merged 1 commit intomainfrom
renovate/coverage-7.x-lockfile

Conversation

@dreadnode-renovate-bot
Copy link
Copy Markdown
Contributor

@dreadnode-renovate-bot dreadnode-renovate-bot bot commented Jul 24, 2025

This PR contains the following updates:

Package Change Age Confidence
coverage 7.9.2 -> 7.10.1 age confidence

Release Notes

nedbat/coveragepy (coverage)

v7.10.1

Compare Source

  • Fix: the exclusion for if TYPE_CHECKING: was wrong: it marked the branch
    as partial, but it should have been a line exclusion so the entire clause
    would be excluded. Improves issue 831_.

  • Fix: changed where .pth files are written for patch = subprocess, closing
    issue 2006_.

.. _issue 2006:https://github.com/nedbat/coveragepy/issues/20066

.. _changes_7-10-0:

v7.10.0

Compare Source

  • A new configuration option: ":ref:config_run_patch" specifies named patches
    to work around some limitations in coverage measurement. These patches are
    available:

    • patch = _exit lets coverage save its data even when :func:os._exit() <python:os._exit> is used to abruptly end the process. This closes
      long-standing issue 310_ as well as its duplicates: issue 312, issue 1673, issue 1845, and issue 1941.

    • patch = subprocess measures coverage in Python subprocesses created
      with :mod:subprocess, :func:os.system, or one of the :func:execv <python:os.execl> or :func:spawnv <python:os.spawnl> family of
      functions. Closes old issue 367_ and duplicate issue 378_.

    • patch = execv adjusts the :func:execv <python:os.execl> family of
      functions to save coverage data before ending the current program and
      starting the next. Not available on Windows. Closes issue 43_ after 15
      years!

  • The HTML report now dimly colors subsequent lines in multi-line statements.
    They used to have no color. This gives a better indication of the amount of
    code missing in the report. Closes issue 1308_.

  • Two new exclusion patterns are part of the defaults: ... is automatically
    excluded as a line and if TYPE_CHECKING: is excluded as a branch. Closes
    issue 831_.

  • A new command-line option: --save-signal=USR1 specifies a signal that
    coverage.py will listen for. When the signal is sent, the coverage data will
    be saved. This makes it possible to save data from within long-running
    processes. Thanks, Arkady Gilinsky <pull 1998_>_.

  • A new configuration option: ":ref:config_report_partial_also" is a list of
    regexes to add as pragmas for partial branches. This parallels the
    ":ref:config_report_exclude_also" setting for adding line exclusion
    patterns.

  • A few file path configuration settings didn't allow for tilde expansion:
    :ref:config_json_output, :ref:config_lcov_output and
    :ref:config_run_debug_file. This is now fixed.

  • Wheels are included for 3.14 now that 3.14 rc1 is available.

  • We no longer ship a PyPy-specific wheel. PyPy will install the pure-Python
    wheel. Closes issue 2001_.

  • In the very unusual situation of not having a current frame, coverage no
    longer crashes when using the sysmon core, fixing issue 2005_.

.. _issue 43:https://github.com/nedbat/coveragepy/issues/433
.. _issue 310https://github.com/nedbat/coveragepy/issues/31010
.. _issue 31https://github.com/nedbat/coveragepy/issues/312312
.. _issue 3https://github.com/nedbat/coveragepy/issues/367/367
.. _issue https://github.com/nedbat/coveragepy/issues/378s/378
.. _issuehttps://github.com/nedbat/coveragepy/issues/831es/831
.. _issuehttps://github.com/nedbat/coveragepy/issues/1308es/1308
.. _issuhttps://github.com/nedbat/coveragepy/issues/1673ues/1673
.. _isshttps://github.com/nedbat/coveragepy/issues/1845sues/1845
.. _ishttps://github.com/nedbat/coveragepy/issues/1941ssues/1941
.. _https://github.com/nedbat/coveragepy/pull/1998y/pull/1998
.. _https://github.com/nedbat/coveragepy/issues/2001/issues/2001
.. [https://github.com/nedbat/coveragepy/issues/2005](https://redirect.github.com/nedbat/coveragepy/issues/2005)y/issues/2005

.. _changes_7-9-2:


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 Renovate Bot.

@dreadnode-renovate-bot dreadnode-renovate-bot bot requested a review from a team as a code owner July 24, 2025 20:04
@dreadnode-renovate-bot dreadnode-renovate-bot bot added the type/digest Dependency digest updates label Jul 24, 2025
| datasource | package  | from  | to     |
| ---------- | -------- | ----- | ------ |
| pypi       | coverage | 7.9.2 | 7.10.1 |
@dreadnode-renovate-bot dreadnode-renovate-bot bot force-pushed the renovate/coverage-7.x-lockfile branch from 9234f55 to 5a75940 Compare July 27, 2025 20:03
@dreadnode-renovate-bot dreadnode-renovate-bot bot changed the title chore(deps): update dependency coverage to v7.10.0 chore(deps): update dependency coverage to v7.10.1 Jul 27, 2025
@dreadnode-renovate-bot dreadnode-renovate-bot bot merged commit 0438163 into main Jul 28, 2025
8 checks passed
@dreadnode-renovate-bot dreadnode-renovate-bot bot deleted the renovate/coverage-7.x-lockfile branch July 28, 2025 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/digest Dependency digest updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants