From b3cb68c9427ca2665a803835357a22d243092f314044b58a70e5ce1e4e0a42e7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 6 Jun 2024 07:29:58 +0000 Subject: [PATCH] - update to 7.5.3: * Performance improvements for combining data files, especially when measuring line coverage. A few different quadratic behaviors were eliminated. In one extreme case of combining 700+ data files, the time dropped from more than three hours to seven minutes. Thanks for Kraken Tech for funding the fix. * Performance improvements for generating HTML reports, with a side benefit of reducing memory use, closing issue 1791. Thanks to Daniel Diniz for helping to diagnose the problem. * Fix: nested matches of exclude patterns could exclude too much code, as reported in issue 1779. This is now fixed. * Changed: previously, coverage.py would consider a module docstring to be an executable statement if it appeared after line 1 in the file, but not executable if it was the first line. Now module docstrings are never counted as executable statements. This can change coverage.py's count of the number of statements in a file, which can slightly change the coverage percentage reported. * In the HTML report, the filter term and "hide covered" checkbox settings are remembered between viewings, thanks to Daniel Diniz. * Python 3.13.0b1 is supported. * Fix: parsing error handling is improved to ensure bizarre source files are handled gracefully, and to unblock oss-fuzz fuzzing, thanks to Liam DeVoe. Closes issue 1787. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=131 --- coverage-7.5.1.tar.gz | 3 --- coverage-7.5.3.tar.gz | 3 +++ python-coverage.changes | 30 ++++++++++++++++++++++++++++++ python-coverage.spec | 2 +- 4 files changed, 34 insertions(+), 4 deletions(-) delete mode 100644 coverage-7.5.1.tar.gz create mode 100644 coverage-7.5.3.tar.gz diff --git a/coverage-7.5.1.tar.gz b/coverage-7.5.1.tar.gz deleted file mode 100644 index f565f0d..0000000 --- a/coverage-7.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:54de9ef3a9da981f7af93eafde4ede199e0846cd819eb27c88e2b712aae9708c -size 784825 diff --git a/coverage-7.5.3.tar.gz b/coverage-7.5.3.tar.gz new file mode 100644 index 0000000..36199c7 --- /dev/null +++ b/coverage-7.5.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:04aefca5190d1dc7a53a4c1a5a7f8568811306d7a8ee231c42fb69215571944f +size 786184 diff --git a/python-coverage.changes b/python-coverage.changes index 20ef43e..149a03f 100644 --- a/python-coverage.changes +++ b/python-coverage.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Thu Jun 6 07:29:28 UTC 2024 - Dirk Müller + +- update to 7.5.3: + * Performance improvements for combining data files, especially + when measuring line coverage. A few different quadratic + behaviors were eliminated. In one extreme case of combining + 700+ data files, the time dropped from more than three hours + to seven minutes. Thanks for Kraken Tech for funding the + fix. + * Performance improvements for generating HTML reports, with a + side benefit of reducing memory use, closing issue 1791. + Thanks to Daniel Diniz for helping to diagnose the problem. + * Fix: nested matches of exclude patterns could exclude too + much code, as reported in issue 1779. This is now fixed. + * Changed: previously, coverage.py would consider a module + docstring to be an executable statement if it appeared after + line 1 in the file, but not executable if it was the first + line. Now module docstrings are never counted as executable + statements. This can change coverage.py's count of the + number of statements in a file, which can slightly change the + coverage percentage reported. + * In the HTML report, the filter term and "hide covered" + checkbox settings are remembered between viewings, thanks to + Daniel Diniz. + * Python 3.13.0b1 is supported. + * Fix: parsing error handling is improved to ensure bizarre + source files are handled gracefully, and to unblock oss-fuzz + fuzzing, thanks to Liam DeVoe. Closes issue 1787. + ------------------------------------------------------------------- Fri May 10 03:05:12 UTC 2024 - Steve Kowalik diff --git a/python-coverage.spec b/python-coverage.spec index b13d33a..3bf7049 100644 --- a/python-coverage.spec +++ b/python-coverage.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-coverage -Version: 7.5.1 +Version: 7.5.3 Release: 0 Summary: Code coverage measurement for Python License: Apache-2.0