Accepting request 1103928 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1103928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-coverage?expand=0&rev=58
This commit is contained in:
Dominique Leuenberger 2023-08-15 14:39:50 +00:00 committed by Git OBS Bridge
commit ac0c627659
4 changed files with 36 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:924d94291ca674905fe9481f12294eb11f2d3d3fd1adb20314ba89e94f44ed59
size 762575

3
coverage-7.3.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:49dbb19cdcafc130f597d9e04a29d0a032ceedf729e41b181f51cd170e6ee865
size 763902

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Mon Aug 14 16:00:52 UTC 2023 - Matthias Fehring <buschmann23@opensuse.org>
- specfile
* fix build on Leap 15 by moving sle15_python_module_pythons macro
to the top
-------------------------------------------------------------------
Mon Aug 14 06:05:34 UTC 2023 - Arun Persaud <arun@gmx.de>
- specfile:
* require python 3.8
- update to version 7.3.0:
* Added a Coverage.collect() context manager to start and stop
coverage data collection.
* Dropped support for Python 3.7.
* Fix: in unusual circumstances, SQLite cannot be set to
asynchronous mode. Coverage.py would fail with the error Safety
level may not be changed inside a transaction. This is now
avoided, closing issue 1646. Thanks to Michael Bell for the
detailed bug report.
* Docs: examples of configuration files now include separate
examples for the different syntaxes: .coveragerc, pyproject.toml,
setup.cfg, and tox.ini.
* Fix: added nosemgrep comments to our JavaScript code so that
semgrep-based SAST security checks wont raise false alarms about
security problems that arent problems.
* Added a CITATION.cff file, thanks to Ken Schackart.
-------------------------------------------------------------------
Thu Aug 10 22:00:16 UTC 2023 - Arun Persaud <arun@gmx.de>

View File

@ -16,14 +16,15 @@
#
%{?sle15_python_module_pythons}
Name: python-coverage
Version: 7.2.7
Version: 7.3.0
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.7}
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@ -34,7 +35,6 @@ Requires(post): update-alternatives
Requires(postun):update-alternatives
# coverage[toml]
Recommends: python-tomli
%{?sle15_python_module_pythons}
# SECTION test requirements
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module hypothesis >= 6}