- update to 5.0.0:
* Removed support for xdist rsync (now deprecated). * Switched docs theme to Furo. * Various legacy Python cleanup and CI improvements. Contributed by Christian Clauss and Hugo van Kemenade in #630, #631, #632 and #633. * Added a pyproject.toml example in the docs. Contributed by Dawn James in #626. * Modernized project's pre-commit hooks to use ruff. Initial POC contributed by Christian Clauss in #584. * Support coverage >= 6.2 - Inject multibuild to avoid build cycles. - Skip 6 test cases that are causing problems with Python 3.8 (when combining coverage data from parallel mode). * Added the --cov-append command line options. coverage-4.0 (automatically activated if there’s a * Changed --cov-report=term to automatically upgrade to --cov-report=term-missing if there’s * Changed --cov so it can be used with no path argument (in wich case the source settings from .coveragerc will * Fixed .pth installation to work in all cases * Data file suffixing changed to use coverage’s * Avoid warning about missing coverage data * Fixed a race condition when running with xdist (all the workers tried to combine the files). It’s possible that this issue is not present in OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cov?expand=0&rev=45
This commit is contained in:
parent
7346b28eb7
commit
9e9dd6f3a8
BIN
pytest-cov-4.1.0.tar.gz
(Stored with Git LFS)
BIN
pytest-cov-4.1.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
pytest-cov-5.0.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pytest-cov-5.0.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 25 15:17:56 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 5.0.0:
|
||||
* Removed support for xdist rsync (now deprecated).
|
||||
* Switched docs theme to Furo.
|
||||
* Various legacy Python cleanup and CI improvements.
|
||||
Contributed by Christian Clauss and Hugo van Kemenade in
|
||||
#630, #631, #632 and #633.
|
||||
* Added a pyproject.toml example in the docs. Contributed by
|
||||
Dawn James in #626.
|
||||
* Modernized project's pre-commit hooks to use ruff. Initial
|
||||
POC contributed by Christian Clauss in #584.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 1 08:51:00 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package python-pytest-cov
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -24,16 +24,17 @@
|
||||
%bcond_with test
|
||||
%define psuffix %{nil}
|
||||
%endif
|
||||
%define skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-cov%{psuffix}
|
||||
Version: 4.1.0
|
||||
Version: 5.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
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module coverage >= 5.2.1}
|
||||
BuildRequires: %{python_module fields}
|
||||
@ -61,11 +62,11 @@ through pytest-cov or through coverage's config file.
|
||||
%autosetup -p1 -n pytest-cov-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%if ! %{with test}
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/
|
||||
%endif
|
||||
|
||||
@ -90,7 +91,7 @@ donttest+=" or test_dist_boxed"
|
||||
%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
|
||||
%{python_sitelib}/pytest_cov-%{version}.dist-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user