From 9767297991217eb8dd0c49d2b36b54416e8bdee6862a1770ca4bb49e60e4aed8 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 22 Oct 2024 15:51:31 +0000 Subject: [PATCH] - update to 7.6.4: * fix: multi-line with statements could cause contained branches to be incorrectly marked as missing (issue 1880). This is now fixed. * 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. * 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). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=135 --- coverage-7.6.1.tar.gz | 3 --- coverage-7.6.4.tar.gz | 3 +++ python-coverage.changes | 38 ++++++++++++++++++++++++++++++++++++++ python-coverage.spec | 4 ++-- 4 files changed, 43 insertions(+), 5 deletions(-) delete mode 100644 coverage-7.6.1.tar.gz create mode 100644 coverage-7.6.4.tar.gz diff --git a/coverage-7.6.1.tar.gz b/coverage-7.6.1.tar.gz deleted file mode 100644 index b150215..0000000 --- a/coverage-7.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:953510dfb7b12ab69d20135a0662397f077c59b1e6379a768e97c59d852ee51d -size 798791 diff --git a/coverage-7.6.4.tar.gz b/coverage-7.6.4.tar.gz new file mode 100644 index 0000000..399d93d --- /dev/null +++ b/coverage-7.6.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29fc0f17b1d3fea332f8001d4558f8214af7f1d87a345f3a133c901d60347c73 +size 798716 diff --git a/python-coverage.changes b/python-coverage.changes index e1d68c6..4c619ec 100644 --- a/python-coverage.changes +++ b/python-coverage.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Tue Oct 22 15:51:19 UTC 2024 - Dirk Müller + +- update to 7.6.4: + * fix: multi-line with statements could cause contained + branches to be incorrectly marked as missing (issue 1880). + This is now fixed. + * 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. + * 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. + ------------------------------------------------------------------- Sat Aug 31 13:44:09 UTC 2024 - Dirk Müller diff --git a/python-coverage.spec b/python-coverage.spec index a9af830..aa0d53d 100644 --- a/python-coverage.spec +++ b/python-coverage.spec @@ -18,13 +18,13 @@ %{?sle15_python_module_pythons} Name: python-coverage -Version: 7.6.1 +Version: 7.6.4 Release: 0 Summary: Code coverage measurement for Python License: Apache-2.0 URL: https://github.com/nedbat/coveragepy Source: https://files.pythonhosted.org/packages/source/c/coverage/coverage-%{version}.tar.gz -BuildRequires: %{python_module devel >= 3.8} +BuildRequires: %{python_module devel >= 3.9} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel}