Repository navigation
⬆️ Update dependency coverage to v7.17.5 - #914
Merged
Merged
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #914 +/- ##
=======================================
Coverage 97.43% 97.43%
=======================================
Files 4 4
Lines 664 664
Branches 29 29
=======================================
Hits 647 647
Misses 9 9
Partials 8 8 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.5Release Notes
coveragepy/coveragepy (coverage)
v7.17.5Compare Source
Fix: the reporting commands (
report,html,xml,json,lcov, andannotate) used to put the current directory first onsys.path, to let plugins import local files. Now the current directoryis added only if plugins are configured, and at the end of
sys.path, solocal files can't replace other modules.
Fix: local plugins interfered with
eraseandcombineas reported inissue 1726. This is now fixed (pull 2253).Fix: with the sysmon core on Python 3.14, starting and stopping a second
Coverage object stopped the first one from measuring code it had already
run. Closes
issue 2302_.Fix: combining data files failed with "Conflicting file tracer name" when
one data file only listed a file without measuring it (as unexecuted source
files are) and another measured the same file with a plugin. This happened
in pytest-cov's distributed testing. Now a file with no measurements doesn't
conflict with a plugin's measurements. Fixes
issue 2358_.Fix: saving data while another thread started measuring a new file handled
by a plugin could fail with "dictionary changed size during iteration".
Fixed in
pull 2382_.Fix: a keyboard interrupt at just the wrong moment could leave a lock locked
and prevent saving data, as reported in
issue 2383. This is now fixed(
pull 2396)... _issue 1726: #1726
.. _pull 2253: #2253
.. _issue 2302: #2302
.. _issue 2358: #2358
.. _pull 2382: #2382
.. _issue 2383: #2383
.. _pull 2396: #2396
.. _changelog-7.17.4:
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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.