- Update to 1.20.0:

* Tests running with Pytest 4.0 and Python 3.7
  * Stop filtering out falsy environment values (#175)
  * Removed extraneous space from anchor tag (@chardbury)
  * Always define __version__ even if get_distribution() fails (@nicoddemus)
  * Refactor css config code (@crazymerlyn)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-html?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal 2019-02-14 13:40:43 +00:00 committed by Git OBS Bridge
parent b4fc02c7d5
commit 6fe6126de3
4 changed files with 20 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:74ad1ad9bf4c2c15184e4d7f31fe28fa09c19ff6a459e65c106be88f1e5349cd
size 25833

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a7c65cdd9d5e4d09cef2f500ca801f80c1110204f24e5b84d019c6f919b15e9e
size 26589

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Feb 14 13:01:48 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.20.0:
* Tests running with Pytest 4.0 and Python 3.7
* Stop filtering out falsy environment values (#175)
* Removed extraneous space from anchor tag (@chardbury)
* Always define __version__ even if get_distribution() fails (@nicoddemus)
* Refactor css config code (@crazymerlyn)
-------------------------------------------------------------------
Thu Nov 22 10:45:00 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pytest-html
#
# 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,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-html
Version: 1.19.0
Version: 1.20.0
Release: 0
Summary: pytest plugin for generating HTML reports
License: MPL-2.0
@ -29,12 +29,16 @@ BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-ansi2hml
Requires: python-pytest >= 3.0
Requires: python-pytest-metadata
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module ansi2html}
BuildRequires: %{python_module pytest >= 3.0}
BuildRequires: %{python_module pytest-metadata}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest-rerunfailures}
# /SECTION
%python_subpackages
@ -52,8 +56,7 @@ pytest plugin for generating HTML reports
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# Upstream does not really care about test results, many do fail or error out
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v || :
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
%files %{python_files}
%license LICENSE