Accepting request 1198085 from devel:languages:python
- update to 7.6.1: * Fix: coverage used to fail when measuring code using :func:`runpy.run_path <python:runpy.run_path>` with a :class:`Path <python:pathlib.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/request/show/1198085 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=64
This commit is contained in:
commit
34d9cf5cf4
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:04aefca5190d1dc7a53a4c1a5a7f8568811306d7a8ee231c42fb69215571944f
|
||||
size 786184
|
3
coverage-7.6.1.tar.gz
Normal file
3
coverage-7.6.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:953510dfb7b12ab69d20135a0662397f077c59b1e6379a768e97c59d852ee51d
|
||||
size 798791
|
@ -1,3 +1,42 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 31 13:44:09 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 7.6.1:
|
||||
* Fix: coverage used to fail when measuring code using
|
||||
:func:`runpy.run_path <python:runpy.run_path>` with a
|
||||
:class:`Path <python:pathlib.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 <dmueller@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user