Accepting request 931974 from devel:languages:python:pytest
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/931974 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-cov?expand=0&rev=23
This commit is contained in:
commit
9901aa4b7c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:359952d9d39b9f822d9d29324483e7ba04a3a17dd7d05aa6beb7ea01e359e5f7
|
|
||||||
size 59143
|
|
3
pytest-cov-3.0.0.tar.gz
Normal file
3
pytest-cov-3.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e7f0f5b1617d2210a2cabc266dfe2f4c75a8d32fb89eafb7ad9d06f6d076d470
|
||||||
|
size 61440
|
@ -1,40 +0,0 @@
|
|||||||
From 92ad6f411167dc05bf54beeb5d9ebc916cc0f6f3 Mon Sep 17 00:00:00 2001
|
|
||||||
From: chedi <chedi.toueiti@gmail.com>
|
|
||||||
Date: Fri, 29 Jan 2021 18:48:58 +0100
|
|
||||||
Subject: [PATCH] fix for failing tests with coverage 5.4
|
|
||||||
|
|
||||||
---
|
|
||||||
tests/test_pytest_cov.py | 6 +++---
|
|
||||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/tests/test_pytest_cov.py b/tests/test_pytest_cov.py
|
|
||||||
index 3c73050..ff22fef 100644
|
|
||||||
--- a/tests/test_pytest_cov.py
|
|
||||||
+++ b/tests/test_pytest_cov.py
|
|
||||||
@@ -500,7 +500,7 @@ def test_central_coveragerc(testdir, prop):
|
|
||||||
])
|
|
||||||
|
|
||||||
# single-module coverage report
|
|
||||||
- assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-4:])
|
|
||||||
+ assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-3:])
|
|
||||||
|
|
||||||
assert result.ret == 0
|
|
||||||
|
|
||||||
@@ -538,7 +538,7 @@ def test_central_with_path_aliasing(testdir, monkeypatch, opts, prop):
|
|
||||||
])
|
|
||||||
|
|
||||||
# single-module coverage report
|
|
||||||
- assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-4:])
|
|
||||||
+ assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-3:])
|
|
||||||
|
|
||||||
assert result.ret == 0
|
|
||||||
|
|
||||||
@@ -643,7 +643,7 @@ def test_show_missing_coveragerc(testdir, prop):
|
|
||||||
])
|
|
||||||
|
|
||||||
# single-module coverage report
|
|
||||||
- assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-4:])
|
|
||||||
+ assert all(not line.startswith('TOTAL ') for line in result.stdout.lines[-3:])
|
|
||||||
|
|
||||||
assert result.ret == 0
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 10 13:05:15 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
- drop pytest-cov-pr453-coverage54.patch
|
||||||
|
- update to 3.0.0
|
||||||
|
* drop support for py2 and python-3.5
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 14 08:45:47 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
Tue Sep 14 08:45:47 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package python-pytest
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
@ -25,21 +25,22 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-pytest-cov%{psuffix}
|
Name: python-pytest-cov%{psuffix}
|
||||||
Version: 2.11.1
|
Version: 3.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/schlamar/pytest-cov
|
URL: https://github.com/schlamar/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
|
||||||
# PATCH-FIX-UPSTREAM gh#pytest-dev/pytest-cov#453 work with coverage 5.4
|
|
||||||
Patch0: https://github.com/pytest-dev/pytest-cov/pull/453.patch#/pytest-cov-pr453-coverage54.patch
|
|
||||||
BuildRequires: %{python_module coverage >= 5.2.1}
|
BuildRequires: %{python_module coverage >= 5.2.1}
|
||||||
BuildRequires: %{python_module fields}
|
BuildRequires: %{python_module fields}
|
||||||
BuildRequires: %{python_module process-tests}
|
BuildRequires: %{python_module process-tests}
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module hunter}
|
||||||
BuildRequires: %{python_module pytest >= 4.6.0}
|
BuildRequires: %{python_module pytest >= 4.6.0}
|
||||||
BuildRequires: %{python_module pytest-xdist}
|
BuildRequires: %{python_module pytest-xdist}
|
||||||
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: %{python_module virtualenv}
|
BuildRequires: %{python_module virtualenv}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user