- 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cov?expand=0&rev=4
This commit is contained in:
parent
1f7416c3f1
commit
5d22013068
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e360f048b7dae3f2f2a9a4d067b2dd6b6a015d384d1577c994a43f3f7cbad762
|
||||
size 33026
|
3
pytest-cov-2.6.1.tar.gz
Normal file
3
pytest-cov-2.6.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0ab664b25c6aa9716cbf203b17ddb301932383046082c081b9848a0edf5add33
|
||||
size 35307
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 13 09:49:04 UTC 2019 - Tomáš Chvátal <tchvatal@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.vx@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-cov
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,18 +18,25 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pytest-cov
|
||||
Version: 2.6.0
|
||||
Version: 2.6.1
|
||||
Release: 0
|
||||
Summary: Pytest plugin for coverage reporting
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
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 pytest >= 3.6}
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
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 >= 2.9.0
|
||||
Requires: python-pytest >= 3.6
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@ -51,6 +58,12 @@ through pytest-cov or through coverage's config file.
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
|
||||
|
||||
%check
|
||||
# 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
|
||||
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)'
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
||||
|
Loading…
x
Reference in New Issue
Block a user