forked from pool/python-pytest-cov
- 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cov?expand=0&rev=34
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user