From 831f923e0af6f01b206262a49ac6f956ab92e145111caa301c10c2e27e429f45 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 31 Aug 2024 13:44:53 +0000 Subject: [PATCH] - update to 7.6.1: * Fix: coverage used to fail when measuring code using :func:`runpy.run_path ` with a :class:`Path ` argument. This is now fixed, thanks to Ask Hjorth Larsen. * Fix: backslashes preceding a multi-line backslashed string could confuse the HTML report. This is now fixed, thanks to LiuYinCarl. * Now we publish wheels for Python 3.13, both regular and free- threaded. * Exclusion patterns can now be multi-line, thanks to Daniel Diniz. This enables many interesting exclusion use-cases, including those requested in issues 118 (entire files), 996 (multiple lines only when appearing together), 1741 (remainder of a function), and 1803 (arbitrary sequence of marked lines). See the :ref:`multi_line_exclude` section of the docs for more details and examples. * The JSON report now includes per-function and per-class coverage information. Thanks to Daniel Diniz for getting the work started. This closes issue 1793 and issue 1532. * Fixed an incorrect calculation of "(no class)" lines in the HTML classes report. * Python 3.13.0b3 is supported. * If you attempt to combine statement coverage data with branch coverage data, coverage.py used to fail with the message "Can't combine arc data with line data" or its reverse, "Can't combine line data with arc data." These messages used internal terminology, making it hard for people to understand the problem. They are now changed to mention "branch coverage data" and "statement coverage data." OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=133 --- coverage-7.5.3.tar.gz | 3 --- coverage-7.6.1.tar.gz | 3 +++ python-coverage.changes | 39 +++++++++++++++++++++++++++++++++++++++ python-coverage.spec | 2 +- 4 files changed, 43 insertions(+), 4 deletions(-) delete mode 100644 coverage-7.5.3.tar.gz create mode 100644 coverage-7.6.1.tar.gz diff --git a/coverage-7.5.3.tar.gz b/coverage-7.5.3.tar.gz deleted file mode 100644 index 36199c7..0000000 --- a/coverage-7.5.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:04aefca5190d1dc7a53a4c1a5a7f8568811306d7a8ee231c42fb69215571944f -size 786184 diff --git a/coverage-7.6.1.tar.gz b/coverage-7.6.1.tar.gz new file mode 100644 index 0000000..b150215 --- /dev/null +++ b/coverage-7.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:953510dfb7b12ab69d20135a0662397f077c59b1e6379a768e97c59d852ee51d +size 798791 diff --git a/python-coverage.changes b/python-coverage.changes index 149a03f..e1d68c6 100644 --- a/python-coverage.changes +++ b/python-coverage.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Sat Aug 31 13:44:09 UTC 2024 - Dirk Müller + +- update to 7.6.1: + * Fix: coverage used to fail when measuring code using + :func:`runpy.run_path ` with a + :class:`Path ` argument. This is now + fixed, thanks to Ask Hjorth Larsen. + * Fix: backslashes preceding a multi-line backslashed string + could confuse the HTML report. This is now fixed, thanks to + LiuYinCarl. + * Now we publish wheels for Python 3.13, both regular and free- + threaded. + * Exclusion patterns can now be multi-line, thanks to Daniel + Diniz. This enables many interesting exclusion use-cases, + including those requested in issues 118 (entire files), 996 + (multiple lines only when appearing together), 1741 + (remainder of a function), and 1803 (arbitrary sequence of + marked lines). See the :ref:`multi_line_exclude` section of + the docs for more details and examples. + * The JSON report now includes per-function and per-class + coverage information. Thanks to Daniel Diniz for getting the + work started. This closes issue 1793 and issue 1532. + * Fixed an incorrect calculation of "(no class)" lines in the + HTML classes report. + * Python 3.13.0b3 is supported. + * If you attempt to combine statement coverage data with branch + coverage data, coverage.py used to fail with the message + "Can't combine arc data with line data" or its reverse, + "Can't combine line data with arc data." These messages used + internal terminology, making it hard for people to understand + the problem. They are now changed to mention "branch + coverage data" and "statement coverage data." + * Fixed a minor branch coverage problem with wildcard + match/case cases using names or guard clauses. + * Started testing on 3.13 free-threading (nogil) builds of + Python. I'm not claiming full support yet. Closes issue + 1799. + ------------------------------------------------------------------- Thu Jun 6 07:29:28 UTC 2024 - Dirk Müller diff --git a/python-coverage.spec b/python-coverage.spec index 3bf7049..a9af830 100644 --- a/python-coverage.spec +++ b/python-coverage.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-coverage -Version: 7.5.3 +Version: 7.6.1 Release: 0 Summary: Code coverage measurement for Python License: Apache-2.0