nedbat/coveragepy (coverage)
### [`v7.4.0`](https://togithub.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-740--2023-12-27)
[Compare Source](https://togithub.com/nedbat/coveragepy/compare/7.3.4...7.4.0)
- In Python 3.12 and above, you can try an experimental core based on the new
:mod:`sys.monitoring ` module by defining a
`COVERAGE_CORE=sysmon` environment variable. This should be faster for
line coverage, but not for branch coverage, and plugins and dynamic contexts
are not yet supported with it. I am very interested to hear how it works (or
doesn't!) for you.
.. \_changes\_7-3-4:
### [`v7.3.4`](https://togithub.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-734--2023-12-20)
[Compare Source](https://togithub.com/nedbat/coveragepy/compare/7.3.3...7.3.4)
- Fix: the change for multi-line signature exclusions in 7.3.3 broke other
forms of nested clauses being excluded properly. This is now fixed, closing
`issue 1713`\_.
- Fix: in the HTML report, selecting code for copying won't select the line
numbers also. Thanks, `Robert Harris `\_.
.. \_issue 1713:[https://github.com/nedbat/coveragepy/issues/1713](https://togithub.com/nedbat/coveragepy/issues/1713)3
.. \_pull 1717[https://github.com/nedbat/coveragepy/pull/1717](https://togithub.com/nedbat/coveragepy/pull/1717)17
.. \_changes\_7-3-3:
### [`v7.3.3`](https://togithub.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-733--2023-12-14)
[Compare Source](https://togithub.com/nedbat/coveragepy/compare/7.3.2...7.3.3)
- Fix: function definitions with multi-line signatures can now be excluded by
matching any of the lines, closing `issue 684`*. Thanks, `Jan Rusak,
Maciej Kowalczyk and Joanna Ejzel `*.
- Fix: XML reports could fail with a TypeError if files had numeric components
that were duplicates except for leading zeroes, like `file1.py` and
`file001.py`. Fixes `issue 1709`\_.
- The `coverage annotate` command used to announce that it would be removed
in a future version. Enough people got in touch to say that they use it, so
it will stay. Don't expect it to keep up with other new features though.
- Added new :ref:`debug options `:
- `pytest` writes the pytest test name into the debug output.
- `dataop2` writes the full data being added to CoverageData objects.
.. \_issue 684:[https://github.com/nedbat/coveragepy/issues/684](https://togithub.com/nedbat/coveragepy/issues/684)4
.. \_pull 1705[https://github.com/nedbat/coveragepy/pull/1705](https://togithub.com/nedbat/coveragepy/pull/1705)05
.. \_issue 170[https://github.com/nedbat/coveragepy/issues/1709](https://togithub.com/nedbat/coveragepy/issues/1709)709
.. \_changes\_7-3-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 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.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
7.3.2
->7.4.0
Release Notes
nedbat/coveragepy (coverage)
### [`v7.4.0`](https://togithub.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-740--2023-12-27) [Compare Source](https://togithub.com/nedbat/coveragepy/compare/7.3.4...7.4.0) - In Python 3.12 and above, you can try an experimental core based on the new :mod:`sys.monitoringConfiguration
📅 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 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 has been generated by Mend Renovate. View repository job log here.