diff --git a/pytest-mpl-0.11.tar.gz b/pytest-mpl-0.11.tar.gz deleted file mode 100644 index 445470d..0000000 --- a/pytest-mpl-0.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:26c5a47a8fdbc04652f18b65c587da642c6cc0354680ee44b16c161d9800a2ce -size 197274 diff --git a/pytest-mpl-0.12.0-gh.tar.gz b/pytest-mpl-0.12.0-gh.tar.gz new file mode 100644 index 0000000..a7a04a2 --- /dev/null +++ b/pytest-mpl-0.12.0-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:46a5e54a9da7dda875273deaa058300d48cad3438b04a6d346eba3effd5d8a3a +size 171541 diff --git a/python-pytest-mpl.changes b/python-pytest-mpl.changes index 2504662..a75a3c8 100644 --- a/python-pytest-mpl.changes +++ b/python-pytest-mpl.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Feb 17 13:52:37 UTC 2021 - Ben Greiner + +- 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 diff --git a/python-pytest-mpl.spec b/python-pytest-mpl.spec index 55f8450..a3ec9ee 100644 --- a/python-pytest-mpl.spec +++ b/python-pytest-mpl.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 +%define skip_python36 1 +%define eggver 0.12 Name: python-pytest-mpl -Version: 0.11 +Version: 0.12.0 Release: 0 -Summary: pytest plugin for testing Matplotlib figures +Summary: Pytest plugin for testing Matplotlib figures License: BSD-2-Clause Group: Development/Languages/Python 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 setuptools} BuildRequires: fdupes @@ -59,6 +63,7 @@ This is a pytest plugin to help with testing figures output from Matplotlib. %files %{python_files} %doc CHANGES.md README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/pytest_mpl +%{python_sitelib}/pytest_mpl-%{eggver}*-info %changelog