nedbat/coveragepy (coverage)
### [`v7.6.4`](https://redirect.github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-764--2024-10-20)
[Compare Source](https://redirect.github.com/nedbat/coveragepy/compare/7.6.3...7.6.4)
- fix: multi-line `with` statements could cause contained branches to be
incorrectly marked as missing (`issue 1880`\_). This is now fixed.
.. \_issue 1880:[https://github.com/nedbat/coveragepy/issues/1880](https://redirect.github.com/nedbat/coveragepy/issues/1880)0
.. \_changes\_7-6-3:
### [`v7.6.3`](https://redirect.github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-763--2024-10-13)
[Compare Source](https://redirect.github.com/nedbat/coveragepy/compare/7.6.2...7.6.3)
- Fix: nested context managers could incorrectly be analyzed to flag a missing
branch on the last context manager, as described in `issue 1876`\_. This is
now fixed.
- Fix: the missing branch message about not exiting a module had an extra
"didn't," as described in `issue 1873`\_. This is now fixed.
.. \_issue 1873:[https://github.com/nedbat/coveragepy/issues/1873](https://redirect.github.com/nedbat/coveragepy/issues/1873)3
.. \_issue 1876[https://github.com/nedbat/coveragepy/issues/1876](https://redirect.github.com/nedbat/coveragepy/issues/1876)76
.. \_changes\_7-6-2:
### [`v7.6.2`](https://redirect.github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-762--2024-10-09)
[Compare Source](https://redirect.github.com/nedbat/coveragepy/compare/7.6.1...7.6.2)
- Dropped support for Python 3.8 and PyPy 3.8.
- Fix: a final wildcard match/case clause assigning to a name (`case _ as
value`) was incorrectly marked as a missing branch. This is now fixed,
closing `issue 1860`\_.
- Fewer things are considered branches now. Lambdas, comprehensions, and
generator expressions are no longer marked as missing branches if they don't
complete execution. Closes `issue 1852`\_.
- Fix: the HTML report didn't properly show multi-line f-strings that end with
a backslash continuation. This is now fixed, closing `issue 1836`*, thanks
to `LiuYinCarl and Marco Ricci `*.
- Fix: the LCOV report now has correct line numbers (fixing `issue 1846`*) and
better branch descriptions for BRDA records (fixing `issue 1850`*). There
are other changes to lcov also, including a new configuration option
:ref:`line_checksums ` to control whether line
checksums are included in the lcov report. The default is false. To keep
checksums set it to true. All this work is thanks to Zack Weinberg
(`pull 1849`\_ and `pull 1851`\_).
- Fixed the docs for multi-line regex exclusions, closing `issue 1863`\_.
- Fixed a potential crash in the C tracer, closing `issue 1835`*, thanks to
`Jan Kühle `*.
.. \_issue 1835:[https://github.com/nedbat/coveragepy/issues/1835](https://redirect.github.com/nedbat/coveragepy/issues/1835)5
.. \_issue 1836[https://github.com/nedbat/coveragepy/issues/1836](https://redirect.github.com/nedbat/coveragepy/issues/1836)36
.. \_pull 183[https://github.com/nedbat/coveragepy/pull/1838](https://redirect.github.com/nedbat/coveragepy/pull/1838)838
.. \_pull 18[https://github.com/nedbat/coveragepy/pull/1843](https://redirect.github.com/nedbat/coveragepy/pull/1843)1843
.. \_issue 1[https://github.com/nedbat/coveragepy/issues/1846](https://redirect.github.com/nedbat/coveragepy/issues/1846)/1846
.. \_pull [https://github.com/nedbat/coveragepy/pull/1849](https://redirect.github.com/nedbat/coveragepy/pull/1849)l/1849
.. \_issue[https://github.com/nedbat/coveragepy/issues/1850](https://redirect.github.com/nedbat/coveragepy/issues/1850)es/1850
.. \_pul[https://github.com/nedbat/coveragepy/pull/1851](https://redirect.github.com/nedbat/coveragepy/pull/1851)ull/1851
.. \_iss[https://github.com/nedbat/coveragepy/issues/1852](https://redirect.github.com/nedbat/coveragepy/issues/1852)sues/1852
.. \_is[https://github.com/nedbat/coveragepy/issues/1860](https://redirect.github.com/nedbat/coveragepy/issues/1860)ssues/1860
.. \_i[https://github.com/nedbat/coveragepy/issues/1863](https://redirect.github.com/nedbat/coveragepy/issues/1863)issues/1863
.. \_changes\_7-6-1:
### [`v7.6.1`](https://redirect.github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-761--2024-08-04)
[Compare Source](https://redirect.github.com/nedbat/coveragepy/compare/7.6.0...7.6.1)
- Fix: coverage used to fail when measuring code using :func:`runpy.run_path ` with a :class:`Path ` argument.
This is now fixed, thanks to `Ask Hjorth Larsen `\_.
- Fix: backslashes preceding a multi-line backslashed string could confuse the
HTML report. This is now fixed, thanks to `LiuYinCarl `\_.
- Now we publish wheels for Python 3.13, both regular and free-threaded.
.. \_pull 1819:[https://github.com/nedbat/coveragepy/pull/1819](https://redirect.github.com/nedbat/coveragepy/pull/1819)9
.. \_pull 1828[https://github.com/nedbat/coveragepy/pull/1828](https://redirect.github.com/nedbat/coveragepy/pull/1828)28
.. \_changes\_7-6-0:
### [`v7.6.0`](https://redirect.github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-760--2024-07-11)
[Compare Source](https://redirect.github.com/nedbat/coveragepy/compare/7.5.4...7.6.0)
- Exclusion patterns can now be multi-line, thanks to `Daniel Diniz `*. This enables many interesting exclusion use-cases, including those
requested in issues `118 `* (entire files), `996 `\_ (multiple lines only when appearing together), `1741 `\_ (remainder of a function), and `1803 `\_
(arbitrary sequence of marked lines). See the :ref:`multi_line_exclude`
section of the docs for more details and examples.
- The JSON report now includes per-function and per-class coverage information.
Thanks to `Daniel Diniz `\_ for getting the work started. This
closes `issue 1793`\_ and `issue 1532`\_.
- Fixed an incorrect calculation of "(no class)" lines in the HTML classes
report.
- Python 3.13.0b3 is supported.
.. \_issue 118:[https://github.com/nedbat/coveragepy/issues/118](https://redirect.github.com/nedbat/coveragepy/issues/118)8
.. \_issue 996[https://github.com/nedbat/coveragepy/issues/996](https://redirect.github.com/nedbat/coveragepy/issues/996)96
.. \_issue 153[https://github.com/nedbat/coveragepy/issues/1532](https://redirect.github.com/nedbat/coveragepy/issues/1532)532
.. \_issue 17[https://github.com/nedbat/coveragepy/issues/1741](https://redirect.github.com/nedbat/coveragepy/issues/1741)1741
.. \_issue 1[https://github.com/nedbat/coveragepy/issues/1793](https://redirect.github.com/nedbat/coveragepy/issues/1793)/1793
.. \_issue [https://github.com/nedbat/coveragepy/issues/1803](https://redirect.github.com/nedbat/coveragepy/issues/1803)s/1803
.. \_pull[https://github.com/nedbat/coveragepy/pull/1807](https://redirect.github.com/nedbat/coveragepy/pull/1807)ll/1807
.. \_pul[https://github.com/nedbat/coveragepy/pull/1809](https://redirect.github.com/nedbat/coveragepy/pull/1809)ull/1809
.. \_changes\_7-5-4:
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 contains the following updates:
<7.6
-><7.7
Release Notes
nedbat/coveragepy (coverage)
### [`v7.6.4`](https://redirect.github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-764--2024-10-20) [Compare Source](https://redirect.github.com/nedbat/coveragepy/compare/7.6.3...7.6.4) - fix: multi-line `with` statements could cause contained branches to be incorrectly marked as missing (`issue 1880`\_). This is now fixed. .. \_issue 1880:[https://github.com/nedbat/coveragepy/issues/1880](https://redirect.github.com/nedbat/coveragepy/issues/1880)0 .. \_changes\_7-6-3: ### [`v7.6.3`](https://redirect.github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-763--2024-10-13) [Compare Source](https://redirect.github.com/nedbat/coveragepy/compare/7.6.2...7.6.3) - Fix: nested context managers could incorrectly be analyzed to flag a missing branch on the last context manager, as described in `issue 1876`\_. This is now fixed. - Fix: the missing branch message about not exiting a module had an extra "didn't," as described in `issue 1873`\_. This is now fixed. .. \_issue 1873:[https://github.com/nedbat/coveragepy/issues/1873](https://redirect.github.com/nedbat/coveragepy/issues/1873)3 .. \_issue 1876[https://github.com/nedbat/coveragepy/issues/1876](https://redirect.github.com/nedbat/coveragepy/issues/1876)76 .. \_changes\_7-6-2: ### [`v7.6.2`](https://redirect.github.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-762--2024-10-09) [Compare Source](https://redirect.github.com/nedbat/coveragepy/compare/7.6.1...7.6.2) - Dropped support for Python 3.8 and PyPy 3.8. - Fix: a final wildcard match/case clause assigning to a name (`case _ as value`) was incorrectly marked as a missing branch. This is now fixed, closing `issue 1860`\_. - Fewer things are considered branches now. Lambdas, comprehensions, and generator expressions are no longer marked as missing branches if they don't complete execution. Closes `issue 1852`\_. - Fix: the HTML report didn't properly show multi-line f-strings that end with a backslash continuation. This is now fixed, closing `issue 1836`*, thanks to `LiuYinCarl and Marco RicciConfiguration
📅 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.
This PR was generated by Mend Renovate. View the repository job log.