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 2022-11-28 12:15:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-cov (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-cov.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-cov"

Mon Nov 28 12:15:45 2022 rev:26 rq:1038610 version:4.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-cov/python-pytest-cov.changes      
2022-08-08 08:44:55.374404769 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-cov.new.1597/python-pytest-cov.changes
    2022-11-28 12:15:45.506578469 +0100
@@ -1,0 +2,36 @@
+Mon Nov 28 09:31:24 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Disable failing tests (test_contexts) that fails because of the new version
+  of python-coverage, gh#pytest-dev/pytest-cov#570
+
+-------------------------------------------------------------------
+Fri Nov 25 11:55:18 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Remove support-coverage-62.patch
+- Remove support-setuptools60.patch
+- Update to 4.0.0:
+  * --cov-fail-under no longer causes pytest --collect-only to fail Contributed
+    by Zac Hatfield-Dodds in #511.
+  * Dropped support for multiprocessing (mostly because issue 82408). This
+    feature was mostly working but very broken in certain scenarios and made
+    the test suite very flaky and slow.
+  * There is builtin multiprocessing support in coverage and you can migrate to
+    that. All you need is this in your .coveragerc:
+
+       [run]
+       concurrency = multiprocessing
+       parallel = true
+       sigterm = true
+
+  * Fixed deprecation in setup.py by trying to import setuptools before
+    distutils. Contributed by Ben Greiner in #545.
+  * Removed undesirable new lines that were displayed while reporting was
+    disabled. Contributed by Delgan in #540.
+  * Documentation fixes. Contributed by Andre Brisco in #543 and Colin O'Dell
+    in #525.
+  * Added support for LCOV output format via --cov-report=lcov. Only works with
+    coverage 6.3+. Contributed by Christian Fetzer in #536.
+  * Modernized pytest hook implementation. Contributed by Bruno Oliveira in
+    #549 and Ronny Pfannschmidt in #550.
+
+-------------------------------------------------------------------

Old:
----
  pytest-cov-3.0.0.tar.gz
  support-coverage-62.patch
  support-setuptools60.patch

New:
----
  pytest-cov-4.0.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pytest-cov.spec ++++++
--- /var/tmp/diff_new_pack.AbX8u1/_old  2022-11-28 12:15:46.210581868 +0100
+++ /var/tmp/diff_new_pack.AbX8u1/_new  2022-11-28 12:15:46.226581946 +0100
@@ -16,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
 %bcond_without test
@@ -27,16 +26,12 @@
 %endif
 %define skip_python2 1
 Name:           python-pytest-cov%{psuffix}
-Version:        3.0.0
+Version:        4.0.0
 Release:        0
 Summary:        Pytest plugin for coverage reporting
 License:        MIT
 URL:            https://github.com/pytest-dev/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#509
-Patch0:         support-coverage-62.patch
-# PATCH-FIX-UPSTREAM gh#pytest-dev/pytest-cov#545
-Patch1:         support-setuptools60.patch
 BuildRequires:  %{python_module setuptools}
 %if %{with test}
 BuildRequires:  %{python_module coverage >= 5.2.1}
@@ -76,11 +71,15 @@
 
 %check
 %if %{with test}
-# test_dist_missing_data - needs internet access
-# test_central_subprocess_change_cwd_with_pythonpath - needs pytest cov in 
venv which is not doable in OBS build
 export PYTHONDONTWRITEBYTECODE=1
 echo "import site;site.addsitedir(\"$(pwd)/src\")" > tests/sitecustomize.py
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:$PWD/tests 
py.test-%{$python_bin_suffix} -v -k 'not (test_dist_missing_data or 
test_central_subprocess_change_cwd_with_pythonpath)'
+# test_dist_missing_data - needs internet access
+# test_central_subprocess_change_cwd_with_pythonpath - needs pytest cov in 
venv which is not doable in OBS build
+donttest="test_dist_missing_data or 
test_central_subprocess_change_cwd_with_pythonpath"
+# Tests broken with the latest version of python-coverage (6.5.0)
+# gh#pytest-dev/pytest-cov#570
+donttest+=" or test_contexts"
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}:$PWD/tests 
py.test-%{$python_bin_suffix} -v -k "not (${donttest})"
 %endif
 
 %if ! %{with test}

++++++ pytest-cov-3.0.0.tar.gz -> pytest-cov-4.0.0.tar.gz ++++++
++++ 4092 lines of diff (skipped)

Reply via email to