From 87b3e3fedc6863ea16437d439a231664562d51d3b1fa2ef633a78c75049fbb6d Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Wed, 30 Nov 2022 10:45:43 +0000 Subject: [PATCH] - Remove python_module macro definition - Add python-py dependency - Update to 3.2.0 * Explicitly add py.xml dependency. Thanks to @smartEBL for the PR * Implement the visible URL query parameter to control visibility of test results on page load. (#399) Thanks to @TheCorp for reporting and @gnikonorov for the fix * Make the report tab title reflect the report name. (#412) Thanks to @gnikonorov for the PR * Implement environment_table_redact_list to allow for redaction of environment table values. (#233) Thanks to @fenchu for reporting and @gnikonorov for the PR OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-html?expand=0&rev=29 --- pytest-html-3.1.1.tar.gz | 3 --- pytest-html-3.2.0.tar.gz | 3 +++ python-pytest-html.changes | 17 +++++++++++++++++ python-pytest-html.spec | 13 +++++++------ 4 files changed, 27 insertions(+), 9 deletions(-) delete mode 100644 pytest-html-3.1.1.tar.gz create mode 100644 pytest-html-3.2.0.tar.gz diff --git a/pytest-html-3.1.1.tar.gz b/pytest-html-3.1.1.tar.gz deleted file mode 100644 index e93cf91..0000000 --- a/pytest-html-3.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3ee1cf319c913d19fe53aeb0bc400e7b0bc2dbeb477553733db1dad12eb75ee3 -size 38548 diff --git a/pytest-html-3.2.0.tar.gz b/pytest-html-3.2.0.tar.gz new file mode 100644 index 0000000..9deff01 --- /dev/null +++ b/pytest-html-3.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4e2f4bb0bffc437f51ad2174a8a3e71df81bbc2f6894604e604af18fbe687c3 +size 41955 diff --git a/python-pytest-html.changes b/python-pytest-html.changes index 7486c7d..edf9317 100644 --- a/python-pytest-html.changes +++ b/python-pytest-html.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Wed Nov 30 10:42:06 UTC 2022 - Daniel Garcia + +- Remove python_module macro definition +- Add python-py dependency +- Update to 3.2.0 + * Explicitly add py.xml dependency. + Thanks to @smartEBL for the PR + * Implement the visible URL query parameter to control visibility of test + results on page load. (#399) + Thanks to @TheCorp for reporting and @gnikonorov for the fix + * Make the report tab title reflect the report name. (#412) + Thanks to @gnikonorov for the PR + * Implement environment_table_redact_list to allow for redaction of + environment table values. (#233) + Thanks to @fenchu for reporting and @gnikonorov for the PR + ------------------------------------------------------------------- Mon Jan 18 20:21:31 UTC 2021 - Benjamin Greiner diff --git a/python-pytest-html.spec b/python-pytest-html.spec index 81210fc..94c7dde 100644 --- a/python-pytest-html.spec +++ b/python-pytest-html.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-html # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,27 +16,28 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pytest-html -Version: 3.1.1 +Version: 3.2.0 Release: 0 Summary: Pytest plugin for generating HTML reports License: MPL-2.0 URL: https://github.com/pytest-dev/pytest-html Source: https://files.pythonhosted.org/packages/source/p/pytest-html/pytest-html-%{version}.tar.gz +BuildRequires: %{python_module pytest >= 5.0} +BuildRequires: %{python_module pytest-metadata} +BuildRequires: %{python_module py} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-ansi2html +Requires: python-py Requires: python-pytest >= 5.0 Requires: python-pytest-metadata BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module ansi2html} -BuildRequires: %{python_module pytest >= 5.0} -BuildRequires: %{python_module pytest-metadata} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest-rerunfailures} BuildRequires: %{python_module pytest-xdist} @@ -62,7 +63,7 @@ export LANG=en_US.UTF-8 %files %{python_files} %license LICENSE -%doc CHANGES.rst README.rst +%doc docs/changelog.rst README.rst %{python_sitelib}/pytest_html %{python_sitelib}/pytest_html-%{version}*-info