Accepting request 873531 from devel:languages:python:pytest

OBS-URL: https://build.opensuse.org/request/show/873531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mpl?expand=0&rev=4
This commit is contained in:
2021-02-18 19:42:32 +00:00
committed by Git OBS Bridge
4 changed files with 31 additions and 8 deletions

View File

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

View File

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

View File

@@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Feb 17 13:52:37 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 0.12
* Fix passing a https url for baseline images from the CLI. [#89]
* Added --mpl-baseline-relative option to specify baseline
images relative to the test path. [#96]
* Add option to do comparisons against a json library of sha256
hashes. [#98]
* Drop support for matplotlib 1.5 and Python < 3.6. [#100]
* Add support for generating a HTML summary of test faliures.
[#101]
* Add support for falling back to baseline image comparison if
hash comparison fails. [#101]
- Skip python2 and python36 flavors. python36-matplotlib is no
longer in Tumbleweed (NEP 29)
- Get test reference data from GitHub archive
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 3 20:56:00 UTC 2020 - Matej Cepl <mcepl@suse.com> Mon Aug 3 20:56:00 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-mpl # spec file for package python-pytest-mpl
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# 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
@@ -17,14 +17,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define skip_python36 1
%define eggver 0.12
Name: python-pytest-mpl Name: python-pytest-mpl
Version: 0.11 Version: 0.12.0
Release: 0 Release: 0
Summary: pytest plugin for testing Matplotlib figures Summary: Pytest plugin for testing Matplotlib figures
License: BSD-2-Clause License: BSD-2-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/matplotlib/pytest-mpl URL: https://github.com/matplotlib/pytest-mpl
Source: https://files.pythonhosted.org/packages/source/p/pytest-mpl/pytest-mpl-%{version}.tar.gz # get the test reference data from the GitHub archive
Source: https://github.com/matplotlib/pytest-mpl/archive/v%{version}.tar.gz#/pytest-mpl-%{version}-gh.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
@@ -59,6 +63,7 @@ This is a pytest plugin to help with testing figures output from Matplotlib.
%files %{python_files} %files %{python_files}
%doc CHANGES.md README.rst %doc CHANGES.md README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/pytest_mpl
%{python_sitelib}/pytest_mpl-%{eggver}*-info
%changelog %changelog