Update dependency coverage to >=7.10.5 #162

Merged
rixx merged 1 commit from renovate/coverage-7.x into main 2025-08-27 09:28:47 +00:00
Member

This PR contains the following updates:

Package Change Age Confidence
coverage >=7.9.2 -> >=7.10.5 age confidence

Release Notes

nedbat/coveragepy (coverage)

v7.10.5

Compare Source

  • Big speed improvements for coverage combine: it's now about twice as
    fast! Huge thanks to Alex Gaynor for pull requests 2032 <pull 2032_>,
    2033 <pull 2033_>
    , and 2034 <pull 2034_>_.

.. _pull 2032: https://github.com/nedbat/coveragepy/pull/2032
.. _pull 2033: https://github.com/nedbat/coveragepy/pull/2033
.. _pull 2034: https://github.com/nedbat/coveragepy/pull/2034

.. _changes_7-10-4:

v7.10.4

Compare Source

  • Added patch = fork for times when the built-in forking support is
    insufficient.

  • Fix: patch = execv also inherits the entire coverage configuration now.

.. _changes_7-10-3:

v7.10.3

Compare Source

  • Fixes for patch = subprocess:

    • If subprocesses spawned yet more subprocesses simultaneously, some coverage
      could be missed. This is now fixed, closing issue 2024_.

    • If subprocesses were created in other directories, their data files were
      stranded there and not combined into the totals, as described in issue 2025_. This is now fixed.

    • On Windows (or maybe only some Windows?) the patch would fail with a
      ModuleNotFound error trying to import coverage. This is now fixed,
      closing issue 2022_.

    • Originally only options set in the coverage configuration file would apply
      to subprocesses. Options set on the coverage run command line (such as
      --branch) wouldn't be communicated to the subprocesses. This could
      lead to combining failures, as described in issue 2021_. Now the entire
      configuration is used in subprocesses, regardless of its origin.

    • Added debug=patch to help diagnose problems.

  • Fix: really close all SQLite databases, even in-memory ones. Closes issue 2017_.

.. _issue 2017: https://github.com/nedbat/coveragepy/issues/2017
.. _issue 2021: https://github.com/nedbat/coveragepy/issues/2021
.. _issue 2022: https://github.com/nedbat/coveragepy/issues/2022
.. _issue 2024: https://github.com/nedbat/coveragepy/issues/2024
.. _issue 2025: https://github.com/nedbat/coveragepy/issues/2025

.. _changes_7-10-2:

v7.10.2

Compare Source

  • Fix: some code with NOP bytecodes could report missing branches that are
    actually executed. This is now fixed, closing issue 1999_. Python 3.9
    still shows the problem.

.. _issue 1999: https://github.com/nedbat/coveragepy/issues/1999

.. _changes_7-10-1:

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, its duplicate issue 378 and old
      issue 689_.

    • 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 689: https://github.com/nedbat/coveragepy/issues/689
.. _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.5` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/coverage/7.10.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/coverage/7.9.2/7.10.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>nedbat/coveragepy (coverage)</summary> ### [`v7.10.5`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-7105--2025-08-23) [Compare Source](https://github.com/nedbat/coveragepy/compare/7.10.4...7.10.5) - Big speed improvements for `coverage combine`: it's now about twice as fast! Huge thanks to Alex Gaynor for pull requests `2032 <pull 2032_>`*, `2033 <pull 2033_>`*, and `2034 <pull 2034_>`\_. .. \_pull 2032: https://github.com/nedbat/coveragepy/pull/2032 .. \_pull 2033: https://github.com/nedbat/coveragepy/pull/2033 .. \_pull 2034: https://github.com/nedbat/coveragepy/pull/2034 .. \_changes\_7-10-4: ### [`v7.10.4`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-7104--2025-08-16) [Compare Source](https://github.com/nedbat/coveragepy/compare/7.10.3...7.10.4) - Added `patch = fork` for times when the built-in forking support is insufficient. - Fix: `patch = execv` also inherits the entire coverage configuration now. .. \_changes\_7-10-3: ### [`v7.10.3`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-7103--2025-08-10) [Compare Source](https://github.com/nedbat/coveragepy/compare/7.10.2...7.10.3) - Fixes for `patch = subprocess`: - If subprocesses spawned yet more subprocesses simultaneously, some coverage could be missed. This is now fixed, closing `issue 2024`\_. - If subprocesses were created in other directories, their data files were stranded there and not combined into the totals, as described in `issue 2025`\_. This is now fixed. - On Windows (or maybe only some Windows?) the patch would fail with a `ModuleNotFound` error trying to import coverage. This is now fixed, closing `issue 2022`\_. - Originally only options set in the coverage configuration file would apply to subprocesses. Options set on the `coverage run` command line (such as `--branch`) wouldn't be communicated to the subprocesses. This could lead to combining failures, as described in `issue 2021`\_. Now the entire configuration is used in subprocesses, regardless of its origin. - Added `debug=patch` to help diagnose problems. - Fix: really close all SQLite databases, even in-memory ones. Closes `issue 2017`\_. .. \_issue 2017: https://github.com/nedbat/coveragepy/issues/2017 .. \_issue 2021: https://github.com/nedbat/coveragepy/issues/2021 .. \_issue 2022: https://github.com/nedbat/coveragepy/issues/2022 .. \_issue 2024: https://github.com/nedbat/coveragepy/issues/2024 .. \_issue 2025: https://github.com/nedbat/coveragepy/issues/2025 .. \_changes\_7-10-2: ### [`v7.10.2`](https://github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-7102--2025-08-03) [Compare Source](https://github.com/nedbat/coveragepy/compare/7.10.1...7.10.2) - Fix: some code with NOP bytecodes could report missing branches that are actually executed. This is now fixed, closing `issue 1999`\_. Python 3.9 still shows the problem. .. \_issue 1999: https://github.com/nedbat/coveragepy/issues/1999 .. \_changes\_7-10-1: ### [`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`*, its duplicate `issue 378`* and old `issue 689`\_. - `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 689: https://github.com/nedbat/coveragepy/issues/689 .. \_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
renovate changed title from Update dependency coverage to >=7.10.1 to Update dependency coverage to >=7.10.2 2025-08-04 03:01:04 +00:00
renovate force-pushed renovate/coverage-7.x from e92ff76984 to d1a66ad5f2 2025-08-04 03:01:05 +00:00 Compare
renovate force-pushed renovate/coverage-7.x from d1a66ad5f2 to 1f0beb57aa 2025-08-11 03:01:57 +00:00 Compare
renovate changed title from Update dependency coverage to >=7.10.2 to Update dependency coverage to >=7.10.3 2025-08-11 03:01:57 +00:00
renovate force-pushed renovate/coverage-7.x from 1f0beb57aa to 567da087cb 2025-08-17 03:01:49 +00:00 Compare
renovate changed title from Update dependency coverage to >=7.10.3 to Update dependency coverage to >=7.10.4 2025-08-17 03:01:50 +00:00
renovate force-pushed renovate/coverage-7.x from 567da087cb to 80a9624f74 2025-08-24 03:01:31 +00:00 Compare
renovate changed title from Update dependency coverage to >=7.10.4 to Update dependency coverage to >=7.10.5 2025-08-24 03:01:31 +00:00
rixx merged commit 44e48253be into main 2025-08-27 09:28:47 +00:00
rixx deleted branch renovate/coverage-7.x 2025-08-27 09:28:47 +00:00
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.