Accepting request 1103414 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/1103414 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-coverage?expand=0&rev=118
This commit is contained in:
parent
dd47370469
commit
6095284de4
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f99ef080288f09ffc687423b8d60978cf3a465d3f404a18d1a05474bd8575a47
|
|
||||||
size 759465
|
|
3
coverage-7.2.7.tar.gz
Normal file
3
coverage-7.2.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:924d94291ca674905fe9481f12294eb11f2d3d3fd1adb20314ba89e94f44ed59
|
||||||
|
size 762575
|
@ -1,20 +0,0 @@
|
|||||||
Index: coverage-7.2.5/tests/test_concurrency.py
|
|
||||||
===================================================================
|
|
||||||
--- coverage-7.2.5.orig/tests/test_concurrency.py
|
|
||||||
+++ coverage-7.2.5/tests/test_concurrency.py
|
|
||||||
@@ -768,10 +768,11 @@ class SigtermTest(CoverageTest):
|
|
||||||
sigterm = true
|
|
||||||
""")
|
|
||||||
out = self.run_command("coverage run handler.py")
|
|
||||||
- if env.LINUX:
|
|
||||||
- assert out == "START\nSIGTERM\nTerminated\n"
|
|
||||||
- else:
|
|
||||||
- assert out == "START\nSIGTERM\n"
|
|
||||||
+ out_lines = out.splitlines()
|
|
||||||
+ assert len(out_lines) in [2, 3]
|
|
||||||
+ assert out_lines[:2] == ["START", "SIGTERM"]
|
|
||||||
+ if len(out_lines) == 3:
|
|
||||||
+ assert out_lines[2] == "Terminated"
|
|
||||||
out = self.run_command("coverage report -m")
|
|
||||||
expected = "handler.py 5 1 80% 6"
|
|
||||||
assert self.squeezed_lines(out)[2] == expected
|
|
@ -1,3 +1,31 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 10 22:00:16 UTC 2023 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
- specfile:
|
||||||
|
* removed fix-tests.patch, included upstream
|
||||||
|
|
||||||
|
- update to version 7.2.7:
|
||||||
|
* Fix: reverted a change from 6.4.3 that helped Cython, but also
|
||||||
|
increased the size of data files when using dynamic contexts, as
|
||||||
|
described in the now-fixed issue 1586. The problem is now avoided
|
||||||
|
due to a recent change (issue 1538). Thanks to Anders Kaseorg and
|
||||||
|
David Szotten for persisting with problem reports and detailed
|
||||||
|
diagnoses.
|
||||||
|
* Wheels are now provided for CPython 3.12.
|
||||||
|
|
||||||
|
- changes from version 7.2.6:
|
||||||
|
* Fix: the lcov command could raise an IndexError exception if a
|
||||||
|
file is translated to Python but then executed under its own
|
||||||
|
name. Jinja2 does this when rendering templates. Fixes issue 1553.
|
||||||
|
* Python 3.12 beta 1 now inlines comprehensions. Previously they
|
||||||
|
were compiled as invisible functions and coverage.py would warn
|
||||||
|
you if they weren’t completely executed. This no longer happens
|
||||||
|
under Python 3.12.
|
||||||
|
* Fix: the coverage debug sys command includes some environment
|
||||||
|
variables in its output. This could have included sensitive
|
||||||
|
data. Those values are now hidden with asterisks, closing issue
|
||||||
|
1628.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 10 08:06:33 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
Wed May 10 08:06:33 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@ -16,16 +16,13 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
|
||||||
Name: python-coverage
|
Name: python-coverage
|
||||||
Version: 7.2.5
|
Version: 7.2.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Code coverage measurement for Python
|
Summary: Code coverage measurement for Python
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/nedbat/coveragepy
|
URL: https://github.com/nedbat/coveragepy
|
||||||
Source: https://files.pythonhosted.org/packages/source/c/coverage/coverage-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/c/coverage/coverage-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM fix-tests.patch -- gh#nedbat/coveragepy@3fdda7d017ff
|
|
||||||
Patch0: fix-tests.patch
|
|
||||||
BuildRequires: %{python_module devel >= 3.7}
|
BuildRequires: %{python_module devel >= 3.7}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@ -37,6 +34,7 @@ Requires(post): update-alternatives
|
|||||||
Requires(postun):update-alternatives
|
Requires(postun):update-alternatives
|
||||||
# coverage[toml]
|
# coverage[toml]
|
||||||
Recommends: python-tomli
|
Recommends: python-tomli
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module flaky}
|
BuildRequires: %{python_module flaky}
|
||||||
BuildRequires: %{python_module hypothesis >= 6}
|
BuildRequires: %{python_module hypothesis >= 6}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user