7.2.6
Version 7.2.6 — 2023-05-23
- Fix: the
lcov
command could raise an IndexError exception if a file is translated to Python but then executed under its own name. Jinja2 does this when rendering templates. Fixes issue 1553. - Python 3.12 beta 1 now inlines comprehensions. Previously they were compiled as invisible functions and coverage.py would warn you if they weren’t completely executed. This no longer happens under Python 3.12.
- Fix: the
coverage debug sys
command includes some environment variables in its output. This could have included sensitive data. Those values are now hidden with asterisks, closing issue 1628.
➡️ PyPI page: coverage 7.2.6.
➡️ To install: python3 -m pip install coverage==7.2.6