Accepting request 997536 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/997536 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=47
This commit is contained in:
commit
4527339251
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e2cad8093172b7d1595b4ad66f24270808658e11acf43a8f95b41276162eb5b8
|
||||
size 678664
|
3
coverage-6.4.1.tar.gz
Normal file
3
coverage-6.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4321f075095a096e70aff1d002030ee612b65a205a0a0f5b815280d5dc58100c
|
||||
size 719971
|
@ -1,3 +1,100 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 9 14:27:53 UTC 2022 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
- update to version 6.4.1:
|
||||
* Greatly improved performance on PyPy, and other environments that
|
||||
need the pure Python trace function. Thanks, Carl Friedrich
|
||||
Bolz-Tereick (pull 1381 and pull 1388). Slightly improved
|
||||
performance when using the C trace function, as most environments
|
||||
do. Closes issue 1339.
|
||||
* The conditions for using tomllib from the standard library have
|
||||
been made more precise, so that 3.11 alphas will continue to
|
||||
work. Closes issue 1390.
|
||||
|
||||
- changes from version 6.4:
|
||||
* A new setting, [run] sigterm, controls whether a SIGTERM signal
|
||||
handler is used. In 6.3, the signal handler was always installed,
|
||||
to capture data at unusual process ends. Unfortunately, this
|
||||
introduced other problems (see issue 1310). Now the signal handler
|
||||
is only used if you opt-in by setting [run] sigterm = true.
|
||||
* Small changes to the HTML report:
|
||||
+ Added links to next and previous file, and more keyboard
|
||||
shortcuts: [ and ] for next file and previous file; u for up to
|
||||
the index; and ? to open/close the help panel. Thanks,
|
||||
J. M. F. Tsang.
|
||||
+ The timestamp and version are displayed at the top of the
|
||||
report. Thanks, Ammar Askar. Closes issue 1351.
|
||||
* A new debug option debug=sqldata adds more detail to debug=sql,
|
||||
logging all the data being written to the database.
|
||||
* Previously, running coverage report (or any of the reporting
|
||||
commands) in an empty directory would create a .coverage data
|
||||
file. Now they do not, fixing issue 1328.
|
||||
* On Python 3.11, the [toml] extra no longer installs tomli, instead
|
||||
using tomllib from the standard library. Thanks Shantanu.
|
||||
* In-memory CoverageData objects now properly update(), closing
|
||||
issue 1323.
|
||||
|
||||
- changes from version 6.3.3 :
|
||||
* Fix: Coverage.py now builds successfully on CPython 3.11
|
||||
(3.11.0b1) again. Closes issue 1367. Some results for generators
|
||||
may have changed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 12 05:47:59 UTC 2022 - Arun Persaud <arun@gmx.de>
|
||||
|
||||
- specfile:
|
||||
* update copyright year
|
||||
* require python-base >= 3.7
|
||||
|
||||
- update to version 6.3.2:
|
||||
* Fix: adapt to pypy3.9’s decorator tracing behavior. It now traces
|
||||
function decorators like CPython 3.8: both the @-line and the
|
||||
def-line are traced. Fixes issue 1326.
|
||||
* Debug: added pybehave to the list of Diagnostics: coverage debug
|
||||
and --debug options.
|
||||
* Fix: show an intelligible error message if
|
||||
--concurrency=multiprocessing is used without a configuration
|
||||
file. Closes issue 1320.
|
||||
|
||||
- changes from version 6.3.1:
|
||||
* Fix: deadlocks could occur when terminating processes. Some of
|
||||
these deadlocks (described in issue 1310) are now fixed.
|
||||
* Fix: a signal handler was being set from multiple threads, causing
|
||||
an error: “ValueError: signal only works in main thread”. This is
|
||||
now fixed, closing issue 1312.
|
||||
* Fix: --precision on the command-line was being ignored while
|
||||
considering --fail-under. This is now fixed, thanks to Marcelo
|
||||
Trylesinski.
|
||||
* Fix: releases no longer provide 3.11.0-alpha wheels. Coverage.py
|
||||
uses CPython internal fields which are moving during the alpha
|
||||
phase. Fixes issue 1316.
|
||||
|
||||
- changes from version 6.3:
|
||||
* Feature: Added the lcov command to generate reports in LCOV
|
||||
format. Thanks, Bradley Burns. Closes issues 587 and 626.
|
||||
* Feature: the coverage data file can now be specified on the
|
||||
command line with the --data-file option in any command that reads
|
||||
or writes data. This is in addition to the existing COVERAGE_FILE
|
||||
environment variable. Closes issue 624. Thanks, Nikita
|
||||
Bloshchanevich.
|
||||
* Feature: coverage measurement data will now be written when a
|
||||
SIGTERM signal is received by the process. This includes
|
||||
Process.terminate, and other ways to terminate a
|
||||
process. Currently this is only on Linux and Mac; Windows is not
|
||||
supported. Fixes issue 1307.
|
||||
* Dropped support for Python 3.6, which reached end-of-life on
|
||||
2021-12-23.
|
||||
* Updated Python 3.11 support to 3.11.0a4, fixing issue 1294.
|
||||
* Fix: the coverage data file is now created in a more robust way,
|
||||
to avoid problems when multiple processes are trying to write data
|
||||
at once. Fixes issues 1303 and 883.
|
||||
* Fix: a .gitignore file will only be written into the HTML report
|
||||
output directory if the directory is empty. This should prevent
|
||||
certain unfortunate accidents of writing the file where it is not
|
||||
wanted.
|
||||
* Releases now have MacOS arm64 wheels for Apple Silicon, fixing
|
||||
issue 1288.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 9 17:16:23 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-coverage
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-coverage
|
||||
Version: 6.2
|
||||
Version: 6.4.1
|
||||
Release: 0
|
||||
Summary: Code coverage measurement for Python
|
||||
License: Apache-2.0
|
||||
@ -27,6 +27,14 @@ URL: https://github.com/nedbat/coveragepy
|
||||
Source: https://files.pythonhosted.org/packages/source/c/coverage/coverage-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python
|
||||
Requires: python-base >= 3.7
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
# coverage[toml]
|
||||
Recommends: python-tomli
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module flaky}
|
||||
BuildRequires: %{python_module hypothesis >= 4.57}
|
||||
@ -34,15 +42,8 @@ BuildRequires: %{python_module pytest >= 4.6}
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module tomli}
|
||||
# for database (sqlite3) support
|
||||
BuildRequires: %pythons
|
||||
BuildRequires: %{pythons}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python
|
||||
# coverage[toml]
|
||||
Recommends: python-tomli
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
Loading…
x
Reference in New Issue
Block a user