Update dependency coverage to >=7.10.1 #162

Open
renovate wants to merge 1 commit from renovate/coverage-7.x into main
Member

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/2006

.. _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/43
.. _issue 310: https://github.com/nedbat/coveragepy/issues/310
.. _issue 312: https://github.com/nedbat/coveragepy/issues/312
.. _issue 367: https://github.com/nedbat/coveragepy/issues/367
.. _issue 378: https://github.com/nedbat/coveragepy/issues/378
.. _issue 831: https://github.com/nedbat/coveragepy/issues/831
.. _issue 1308: https://github.com/nedbat/coveragepy/issues/1308
.. _issue 1673: https://github.com/nedbat/coveragepy/issues/1673
.. _issue 1845: https://github.com/nedbat/coveragepy/issues/1845
.. _issue 1941: https://github.com/nedbat/coveragepy/issues/1941
.. _pull 1998: https://github.com/nedbat/coveragepy/pull/1998
.. _issue 2001: https://github.com/nedbat/coveragepy/issues/2001
.. _issue 2005: https://github.com/nedbat/coveragepy/issues/2005

.. _changes_7-9-2:


Configuration

📅 Schedule: 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 Renovate Bot.

This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [coverage](https://github.com/nedbat/coveragepy) | `>=7.9.2` -> `>=7.10.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/coverage/7.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/coverage/7.9.2/7.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nedbat/coveragepy (coverage)</summary> ### [`v7.10.1`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-7101--2025-07-27) [Compare Source](https://github.com/nedbat/coveragepy/compare/7.10.0...7.10.1) - 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/2006 .. \_changes\_7-10-0: ### [`v7.10.0`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-7100--2025-07-24) [Compare Source](https://github.com/nedbat/coveragepy/compare/7.9.2...7.10.0) - 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/43 .. \_issue 310: https://github.com/nedbat/coveragepy/issues/310 .. \_issue 312: https://github.com/nedbat/coveragepy/issues/312 .. \_issue 367: https://github.com/nedbat/coveragepy/issues/367 .. \_issue 378: https://github.com/nedbat/coveragepy/issues/378 .. \_issue 831: https://github.com/nedbat/coveragepy/issues/831 .. \_issue 1308: https://github.com/nedbat/coveragepy/issues/1308 .. \_issue 1673: https://github.com/nedbat/coveragepy/issues/1673 .. \_issue 1845: https://github.com/nedbat/coveragepy/issues/1845 .. \_issue 1941: https://github.com/nedbat/coveragepy/issues/1941 .. \_pull 1998: https://github.com/nedbat/coveragepy/pull/1998 .. \_issue 2001: https://github.com/nedbat/coveragepy/issues/2001 .. \_issue 2005: https://github.com/nedbat/coveragepy/issues/2005 .. \_changes\_7-9-2: </details> --- ### Configuration 📅 **Schedule**: 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xLjQiLCJ1cGRhdGVkSW5WZXIiOiI0MS4xLjQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
renovate added the
dependencies
label 2025-07-25 03:01:00 +00:00
renovate added 1 commit 2025-07-25 03:01:00 +00:00
Update dependency coverage to >=7.10.0
All checks were successful
Tests / test (push) Successful in 25s
bc48411cb1
renovate force-pushed renovate/coverage-7.x from bc48411cb1 to e92ff76984 2025-07-28 03:01:22 +00:00 Compare
renovate changed title from Update dependency coverage to >=7.10.0 to Update dependency coverage to >=7.10.1 2025-07-28 03:01:23 +00:00
All checks were successful
Tests / test (push) Successful in 25s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/coverage-7.x:renovate/coverage-7.x
git checkout renovate/coverage-7.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff renovate/coverage-7.x
git checkout renovate/coverage-7.x
git rebase main
git checkout main
git merge --ff-only renovate/coverage-7.x
git checkout renovate/coverage-7.x
git rebase main
git checkout main
git merge --no-ff renovate/coverage-7.x
git checkout main
git merge --squash renovate/coverage-7.x
git checkout main
git merge --ff-only renovate/coverage-7.x
git checkout main
git merge renovate/coverage-7.x
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: servala/servala-portal#162
No description provided.