You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(deps): update dependency coverage to v7.17.4 - #714
Fix: since 7.13.1, a parallel data file could be named with the hash of
different data than it held, for example when nbval records a notebook's
coverage into pytest-cov's data file. Combining could then skip it as a
duplicate and lose its data. Now the hash comes from the data in the file
when it is saved. Fixes issue 2370_ with pull 2387_.
Fix: lines or arcs recorded by other threads while data was being flushed
(for example during Coverage.get_data(), Coverage.save(), or dynamic
context switches) could be lost. This is now fixed, closing issue 2384_.
Fix: on Python 3.14 with the pure-Python tracer (COVERAGE_CORE=pytrace)
and branch measurement, a function that returned right after an except*
handler recorded an arc with no line number. Reporting on the data then
failed with a TypeError. Now that arc is not recorded. pull 2403_.
Fix: in the JSON report with show_contexts, each function and class had
the contexts for every line in the file. Now they only have the contexts for
their own lines. Closes issue 2374_.
The first entry in a [paths] list is the result path, and must be an
actual file path. If it contained wildcards, the rule could never be used
and was silently ignored. It is now reported as a configuration error.
Closes issue 1531_.
Fix: a configuration file (.coveragerc, setup.cfg, tox.ini or pyproject.toml) saved with a UTF-8 byte order mark couldn't be read.
Now a leading BOM is ignored. pull 2388_.
This pull-request has been approved by:
To complete the pull request process, please assign ahmedadan after the PR has been reviewed.
You can assign the PR to them by writing /assign @ahmedadan in a comment when ready.
Needs approval from an approver in each of these files:
No sentinel-alert label was added. The finding is recorded in the dashboard Security tab and /api/sentinel; set sentinel.trusted_authors_block: true to block trusted authors too.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==7.17.3→==7.17.4Release Notes
coveragepy/coveragepy (coverage)
v7.17.4Compare Source
Fix: since 7.13.1, a parallel data file could be named with the hash of
different data than it held, for example when nbval records a notebook's
coverage into pytest-cov's data file. Combining could then skip it as a
duplicate and lose its data. Now the hash comes from the data in the file
when it is saved. Fixes
issue 2370_ withpull 2387_.Fix: lines or arcs recorded by other threads while data was being flushed
(for example during
Coverage.get_data(),Coverage.save(), or dynamiccontext switches) could be lost. This is now fixed, closing
issue 2384_.Fix: on Python 3.14 with the pure-Python tracer (
COVERAGE_CORE=pytrace)and branch measurement, a function that returned right after an
except*handler recorded an arc with no line number. Reporting on the data then
failed with a
TypeError. Now that arc is not recorded.pull 2403_.Fix: in the JSON report with
show_contexts, each function and class hadthe contexts for every line in the file. Now they only have the contexts for
their own lines. Closes
issue 2374_.The first entry in a
[paths]list is the result path, and must be anactual file path. If it contained wildcards, the rule could never be used
and was silently ignored. It is now reported as a configuration error.
Closes
issue 1531_.Fix: a configuration file (
.coveragerc,setup.cfg,tox.iniorpyproject.toml) saved with a UTF-8 byte order mark couldn't be read.Now a leading BOM is ignored.
pull 2388_... _issue 1531: #1531
.. _issue 2370: #2370
.. _issue 2374: #2374
.. _issue 2384: #2384
.. _pull 2387: #2387
.. _pull 2388: #2388
.. _pull 2403: #2403
.. _changelog-7.17.3:
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR has been generated by Mend Renovate CLI.