From 71ea03d08d7a6e6443722bd67edc6e82d67283eb Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 31 Jan 2022 13:39:42 +0200 Subject: python3-coverage: Upgrade 6.2 -> 6.3 Upgrade to release 6.3: - Added the lcov command to generate reports in LCOV format. - 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. - coverage measurement data will now be written when a SIGTERM signal is received by the process. This includes Process.terminate, and other ways to terminate a process. Currently this is only on Linux and Mac; Windows is not supported. - Dropped support for Python 3.6, which reached end-of-life on 2021-12-23. - Updated Python 3.11 support to 3.11.0a4. - 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. - 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. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-coverage_6.3.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-coverage_6.3.bb (limited to 'meta-python/recipes-devtools/python/python3-coverage_6.3.bb') diff --git a/meta-python/recipes-devtools/python/python3-coverage_6.3.bb b/meta-python/recipes-devtools/python/python3-coverage_6.3.bb new file mode 100644 index 0000000000..0ed90281f9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-coverage_6.3.bb @@ -0,0 +1,16 @@ +SUMMARY = "Code coverage measurement for Python" +HOMEPAGE = "https://coverage.readthedocs.io" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93" + +SRC_URI[sha256sum] = "987a84ff98a309994ca77ed3cc4b92424f824278e48e4bf7d1bb79a63cfe2099" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-sqlite3 \ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-pprint \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-xml \ +" -- cgit v1.2.3-54-g00ecf