Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-cov for
openSUSE:Factory checked in at 2021-12-25 20:16:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-cov (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-cov.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-cov"
Sat Dec 25 20:16:29 2021 rev:24 rq:941559 version:3.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-cov/python-pytest-cov.changes
2021-11-20 02:39:10.496773273 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytest-cov.new.2520/python-pytest-cov.changes
2021-12-25 20:16:35.353246849 +0100
@@ -1,0 +2,6 @@
+Mon Dec 20 01:21:53 UTC 2021 - Steve Kowalik <[email protected]>
+
+- Add support-coverage-62.patch:
+ * Support coverage >= 6.2
+
+-------------------------------------------------------------------
New:
----
support-coverage-62.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-cov.spec ++++++
--- /var/tmp/diff_new_pack.G2Z05p/_old 2021-12-25 20:16:35.889247286 +0100
+++ /var/tmp/diff_new_pack.G2Z05p/_new 2021-12-25 20:16:35.893247289 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package python-pytest
+# spec file
#
# Copyright (c) 2021 SUSE LLC
#
@@ -33,6 +33,8 @@
License: MIT
URL: https://github.com/schlamar/pytest-cov
Source:
https://files.pythonhosted.org/packages/source/p/pytest-cov/pytest-cov-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gh#pytest-dev/pytest-cov/issues/509
+Patch0: support-coverage-62.patch
BuildRequires: %{python_module coverage >= 5.2.1}
BuildRequires: %{python_module fields}
BuildRequires: %{python_module process-tests}
++++++ support-coverage-62.patch ++++++
Index: pytest-cov-3.0.0/tests/test_pytest_cov.py
===================================================================
--- pytest-cov-3.0.0.orig/tests/test_pytest_cov.py
+++ pytest-cov-3.0.0/tests/test_pytest_cov.py
@@ -968,7 +968,7 @@ def test_invalid_coverage_source(testdir
'*10 passed*'
])
result.stderr.fnmatch_lines([
- 'Coverage.py warning: No data was collected.*'
+ '*No data was collected.*'
])
result.stdout.fnmatch_lines([
'*Failed to generate report: No data to report.',