diff --git a/pytest-cov-2.10.0.tar.gz b/pytest-cov-2.10.0.tar.gz new file mode 100644 index 0000000..cbfb72f --- /dev/null +++ b/pytest-cov-2.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1a629dc9f48e53512fcbfda6b07de490c374b0c83c55ff7a1720b3fccff0ac87 +size 54570 diff --git a/pytest-cov-2.9.0.tar.gz b/pytest-cov-2.9.0.tar.gz deleted file mode 100644 index 7fd2fe5..0000000 --- a/pytest-cov-2.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b6a814b8ed6247bd81ff47f038511b57fe1ce7f4cc25b9106f1a4b106f1d9322 -size 54269 diff --git a/python-pytest-cov.changes b/python-pytest-cov.changes index b77c999..368fdd1 100644 --- a/python-pytest-cov.changes +++ b/python-pytest-cov.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jun 29 09:21:38 UTC 2020 - Marketa Calabkova + +- Update to 2.10.0 + * Improved the --no-cov warning. Now it's only shown if --no-cov is present before --cov. + * Removed legacy pytest support. Changed setup.py so that pytest>=4.6 is required. + ------------------------------------------------------------------- Tue Jun 9 08:07:16 UTC 2020 - Tomáš Chvátal diff --git a/python-pytest-cov.spec b/python-pytest-cov.spec index 0d2a113..ef88aea 100644 --- a/python-pytest-cov.spec +++ b/python-pytest-cov.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-cov -Version: 2.9.0 +Version: 2.10.0 Release: 0 Summary: Pytest plugin for coverage reporting License: MIT @@ -27,15 +27,15 @@ Source: https://files.pythonhosted.org/packages/source/p/pytest-cov/pyte BuildRequires: %{python_module coverage >= 4.4} BuildRequires: %{python_module fields} BuildRequires: %{python_module process-tests} -BuildRequires: %{python_module pytest-xdist} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest >= 4.6.0} +BuildRequires: %{python_module pytest-xdist >= 1.32.0} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: %{python_module virtualenv} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-coverage >= 4.4 -Requires: python-pytest +Requires: python-pytest >= 4.6.0 BuildArch: noarch %python_subpackages @@ -59,11 +59,10 @@ through pytest-cov or through coverage's config file. %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 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 or test_dist_not_collocated or test_dist_subprocess_not_collocated)' +%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)' %files %{python_files} %license LICENSE