Skip to content

6.3

Compare
Choose a tag to compare
@nedbat nedbat released this 25 Jan 17:39
· 1133 commits to master since this release
  • Feature: Added the lcov command to generate reports in LCOV format. Thanks, Bradley Burns. Closes issues 587 and 626.
  • Feature: the coverage data file can now be specified on the command line with the --data-file option in any command that reads or writes data. This is in addition to the existing COVERAGE_FILE environment variable. Closes issue 624. Thanks, Nikita Bloshchanevich.
  • Feature: coverage measurement data will now be written when a SIGTERM signal is received by the process. This includes Process.terminate <python:multiprocessing.Process.terminate>, and other ways to terminate a process. Currently this is only on Linux and Mac; Windows is not supported. Fixes issue 1307.
  • Dropped support for Python 3.6, which reached end-of-life on 2021-12-23.
  • Updated Python 3.11 support to 3.11.0a4, fixing issue 1294.
  • Fix: the coverage data file is now created in a more robust way, to avoid problems when multiple processes are trying to write data at once. Fixes issues 1303 and 883.
  • Fix: a .gitignore file will only be written into the HTML report output directory if the directory is empty. This should prevent certain unfortunate accidents of writing the file where it is not wanted.
  • Releases now have MacOS arm64 wheels for Apple Silicon, fixing issue 1288.

➡️  PyPI page: coverage 6.3.
➡️  To install: python3 -m pip install coverage==6.3