Hello community, here is the log from the commit of package python-pytest-cov for openSUSE:Leap:15.2 checked in at 2020-04-28 20:09:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-pytest-cov (Old) and /work/SRC/openSUSE:Leap:15.2/.python-pytest-cov.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-cov" Tue Apr 28 20:09:29 2020 rev:17 rq:795787 version:2.8.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-pytest-cov/python-pytest-cov.changes 2020-01-15 15:52:15.895557377 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-pytest-cov.new.2738/python-pytest-cov.changes 2020-04-28 20:09:30.336328517 +0200 @@ -1,0 +2,61 @@ +Wed Jan 15 12:50:24 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Skip test_cover_looponfail as it fails with new pytest + +------------------------------------------------------------------- +Thu Dec 5 04:06:23 UTC 2019 - Steve Kowalik <steven.kowa...@suse.com> + +- Skip 6 test cases that are causing problems with Python 3.8 + +------------------------------------------------------------------- +Wed Nov 6 13:25:11 CET 2019 - Matej Cepl <mc...@suse.com> + +- Switch off another test cases to make test suite pass. + gh#pytest-dev/pytest-cov#358 + +------------------------------------------------------------------- +Mon Oct 7 08:34:43 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 2.8.1: + * Fixed #348 - regression when only certain reports (html or xml) are used then --cov-fail-under always fails. + * Added compatibility with future xdist release that deprecates some internals (match pytest-xdist master/worker terminology). Contributed by Thomas Grainger in #321 + * Added support for Coverage 5.0 + +------------------------------------------------------------------- +Mon May 6 11:04:02 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 2.7.1: + * Fixed AttributeError: 'NoneType' object has no attribute 'configure_node' error when --no-cov is used. Contributed by Alexander Shadchin in #263. + * Various testing and CI improvements. Contributed by Daniel Hahler in #255, #266, #272, #271 and #269. + * Improved documentation regarding subprocess and multiprocessing. Contributed in #265. + * Improved pytest_cov.embed.cleanup_on_sigterm to be reentrant (signal deliveries while signal handling is running won't break stuff). + * Added pytest_cov.embed.cleanup_on_signal for customized cleanup. + * Improved cleanup code and fixed various issues with leftover data files. All contributed in #265 or #262. + * Improved examples. Now there are two examples for the common project layouts, complete with working coverage configuration. The examples have CI testing. Contributed in #267. + * Improved help text for CLI options. + +------------------------------------------------------------------- +Wed Feb 13 09:49:04 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 2.6.1: + * Added support for Pytest 4.1. Contributed by Daniel Hahler and Семён Марьясин in #253 and #230. + * Various test and docs fixes. Contributed by Daniel Hahler in #224 and #223. + * Fixed the "Module already imported" issue (#211). Contributed by Daniel Hahler in #228. + +------------------------------------------------------------------- +Fri Oct 26 13:25:08 UTC 2018 - Ondřej Súkup <mimi...@gmail.com> + +- update to 2.6.0 +- cleanup deps + * Dropped support for Python < 3.4, Pytest < 3.5 and Coverage < 4.4 + * Fixed some documentation formatting. + * Added an example with addopts in documentation. + * Fixed TypeError: 'NoneType' object is not iterable in certain xdist configurations. + * Added a no_cover marker and fixture. + * Fixed broken no_cover check when running doctests. + * Fixed various issues with path normalization in reports + (when combining coverage data from parallel mode). + * Report generation failures don't raise exceptions anymore. + A warning will be logged instead. + +------------------------------------------------------------------- Old: ---- pytest-cov-2.5.1.tar.gz New: ---- pytest-cov-2.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest-cov.spec ++++++ --- /var/tmp/diff_new_pack.zEP2iP/_old 2020-04-28 20:09:30.672329214 +0200 +++ /var/tmp/diff_new_pack.zEP2iP/_new 2020-04-28 20:09:30.676329223 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pytest-cov # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,32 +12,30 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-cov -Version: 2.5.1 +Version: 2.8.1 Release: 0 Summary: Pytest plugin for coverage reporting License: MIT -Group: Development/Languages/Python -Url: https://github.com/schlamar/pytest-cov -Source: https://pypi.io/packages/source/p/pytest-cov/pytest-cov-%{version}.tar.gz -BuildRequires: %{python_module cov-core >= 1.14.0} -BuildRequires: %{python_module coverage >= 3.7.1} -BuildRequires: %{python_module devel} +URL: https://github.com/schlamar/pytest-cov +Source: https://files.pythonhosted.org/packages/source/p/pytest-cov/pytest-cov-%{version}.tar.gz +BuildRequires: %{python_module coverage >= 4.4} +BuildRequires: %{python_module fields} BuildRequires: %{python_module process-tests} -BuildRequires: %{python_module py >= 1.4.22} -BuildRequires: %{python_module pytest >= 2.6.0} +BuildRequires: %{python_module pytest-xdist} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} BuildRequires: %{python_module virtualenv} +BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-cov-core >= 1.14.0 -Requires: python-coverage >= 3.7.1 -Requires: python-pytest >= 2.6.0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: python-coverage >= 4.4 +Requires: python-pytest BuildArch: noarch %python_subpackages @@ -57,14 +55,21 @@ %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib}/ -# could not fix this -#%%check -#%%python_expand PYTHONPATH=%%{buildroot}%%{$python_sitelib}:$PWD/tests %%python_exec %%{_bindir}/py.test +%check +# test_dist_missing_data - needs internet access +# test_*_collocated gh#pytest-dev/pytest-cov#358 +# test_central_subprocess_change_cwd_with_pythonpath - needs pytest cov in venv which is not doable in OBS build +# test_multiprocessing* - deadlocks under Python 3.8 +# test_dist_combine_racecondition - text ordering under Python 3.8 +# test_cover_looponfail - breaks with new pytest +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 or test_dist_not_collocated or test_dist_subprocess_not_collocated or test_multiprocessing or test_dist_combine_racecondition or test_cover_looponfail)' %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS.rst CHANGELOG.rst LICENSE README.rst +%license LICENSE +%doc AUTHORS.rst CHANGELOG.rst README.rst %{python_sitelib}/pytest-cov.pth %{python_sitelib}/pytest_cov %{python_sitelib}/pytest_cov-%{version}-py%{python_version}.egg-info ++++++ pytest-cov-2.5.1.tar.gz -> pytest-cov-2.8.1.tar.gz ++++++ ++++ 6061 lines of diff (skipped)