Accepting request 1217070 from devel:languages:python
- 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 <config_lcov_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/request/show/1217070 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=65
This commit is contained in:
commit
c38d47df63
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:953510dfb7b12ab69d20135a0662397f077c59b1e6379a768e97c59d852ee51d
|
||||
size 798791
|
BIN
coverage-7.6.4.tar.gz
(Stored with Git LFS)
Normal file
BIN
coverage-7.6.4.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,41 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 22 15:51:19 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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
|
||||
<config_lcov_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 <dmueller@suse.com>
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user