forked from pool/python-pytest-cov
- Update to 7.0.0:
* Dropped support for subprocesses measurement.
* Switched packaging to have metadata completely in pyproject.toml and use
hatchling for building.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cov?expand=0&rev=51
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:25cc6cc0a5358204b8108ecedc51a9b57b34cc6b8c967cc2c01a4e00d8a67da2
|
|
||||||
size 69432
|
|
||||||
3
pytest_cov-7.0.0.tar.gz
Normal file
3
pytest_cov-7.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:33c97eda2e049a0c5298e91f519302a1334c26ac65c1a483d6206fd458361af1
|
||||||
|
size 54328
|
||||||
@@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 16 02:43:29 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 7.0.0:
|
||||||
|
* Dropped support for subprocesses measurement.
|
||||||
|
* Switched packaging to have metadata completely in pyproject.toml and use
|
||||||
|
hatchling for building.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 2 02:18:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
Wed Jul 2 02:18:36 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-cov
|
# spec file for package python-pytest-cov
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -26,27 +26,27 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pytest-cov%{psuffix}
|
Name: python-pytest-cov%{psuffix}
|
||||||
Version: 6.2.1
|
Version: 7.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pytest plugin for coverage reporting
|
Summary: Pytest plugin for coverage reporting
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/pytest-dev/pytest-cov
|
URL: https://github.com/pytest-dev/pytest-cov
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-cov/pytest_cov-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-cov/pytest_cov-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.9}
|
BuildRequires: %{python_module base >= 3.9}
|
||||||
|
BuildRequires: %{python_module hatch-fancy-pypi-readme}
|
||||||
|
BuildRequires: %{python_module hatchling}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module coverage >= 7.5}
|
BuildRequires: %{python_module coverage >= 7.10.6}
|
||||||
BuildRequires: %{python_module fields}
|
BuildRequires: %{python_module fields}
|
||||||
BuildRequires: %{python_module process-tests}
|
BuildRequires: %{python_module process-tests}
|
||||||
BuildRequires: %{python_module pytest >= 6.2.5}
|
BuildRequires: %{python_module pytest-cov = %{version}}
|
||||||
BuildRequires: %{python_module pytest-xdist}
|
BuildRequires: %{python_module pytest-xdist}
|
||||||
BuildRequires: %{python_module virtualenv}
|
BuildRequires: %{python_module virtualenv}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-coverage >= 7.5
|
Requires: python-coverage >= 7.10.6
|
||||||
Requires: python-pluggy >= 1.2
|
Requires: python-pluggy >= 1.2
|
||||||
Requires: python-pytest >= 6.2.5
|
Requires: python-pytest >= 6.2.5
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -78,11 +78,12 @@ echo "import site;site.addsitedir(\"$(pwd)/src\")" > tests/sitecustomize.py
|
|||||||
# test_dist_missing_data - needs internet access
|
# 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
|
# test_central_subprocess_change_cwd_with_pythonpath - needs pytest cov in venv which is not doable in OBS build
|
||||||
donttest="test_dist_missing_data or test_central_subprocess_change_cwd_with_pythonpath"
|
donttest="test_dist_missing_data or test_central_subprocess_change_cwd_with_pythonpath"
|
||||||
# Tests broken with the latest version of python-coverage (6.5.0)
|
# test_celery - requires testcontainers, not packaged
|
||||||
# gh#pytest-dev/pytest-cov#570
|
donttest+=" or test_celery"
|
||||||
donttest+=" or test_contexts"
|
# Broken with new version of coverage
|
||||||
# gh#pytest-dev/pytest-cov#565
|
donttest+=" or test_subprocess_with_path_aliasing or test_central_subprocess"
|
||||||
donttest+=" or test_dist_boxed"
|
donttest+=" or test_dist_subprocess_not_collocated or test_cleanup_on_sigterm"
|
||||||
|
donttest+=" or test_append_coverage_subprocess or test_dist_subprocess_collocated"
|
||||||
%pytest -v -k "not (${donttest})"
|
%pytest -v -k "not (${donttest})"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -90,7 +91,6 @@ donttest+=" or test_dist_boxed"
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
||||||
%{python_sitelib}/pytest-cov.pth
|
|
||||||
%{python_sitelib}/pytest_cov
|
%{python_sitelib}/pytest_cov
|
||||||
%{python_sitelib}/pytest_cov-%{version}.dist-info
|
%{python_sitelib}/pytest_cov-%{version}.dist-info
|
||||||
%endif
|
%endif
|
||||||
|
|||||||
Reference in New Issue
Block a user