5 Commits

Author SHA256 Message Date
778da83477 Update to 0.18.0 2026-01-01 15:17:10 +01:00
e499a8b12a Accepting request 1202872 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/1202872
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mpl?expand=0&rev=6
2024-09-24 15:34:19 +00:00
0cd1ffa393 Accepting request 1202706 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1202706
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mpl?expand=0&rev=12
2024-09-24 09:08:22 +00:00
0a5cf518b1 Accepting request 1195070 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/1195070
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mpl?expand=0&rev=5
2024-08-21 21:26:53 +00:00
58b06ff5b5 Accepting request 1194469 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 0.17.0
  ## Fixes
  * Improve Logging Configuration: don't modify root logger by
    @theOehrly in #182
  * Improve error reporting when test raises an exception by
    @ConorMacBride in #193
  * MNT: Compat with pytest 8.1 by @pllim in #219
  ## Exciting New Features
  * Added support for EPS, PDF, and SVG image comparison by
    @astrofrog in #194
  * Started implementing support for deterministic figure output by
    @astrofrog in #196
  * Add missing CLI and INI options for a consistent API by
    @astrofrog in #181
  * Avoid using py.path by @eerovaher in #207
  * Allow using -p no:legacypath with pytest >= 7 by @eerovaher in
    #213
  ## Other Changes
  * Add initial Sphinx docs by @ConorMacBride in #174
  * Add documentation on avoiding PytestReturnNotNoneWarning by
    @ConorMacBride in #185
  * Add RTD config by @ConorMacBride in #195
  * Migrate docs from README.rst to website by @ConorMacBride in
    #199
  * Set deterministic to True for vector graphics and warn about
    change to True in future for PNG by @astrofrog in #197
  ## Infrastructure Changes
  * Verify class-based testing configurations produce the expected
    results by @ConorMacBride in #175
  * Update testing and CI for Matplotlib v3.6 by @ConorMacBride in

OBS-URL: https://build.opensuse.org/request/show/1194469
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mpl?expand=0&rev=10
2024-08-21 11:09:32 +00:00
4 changed files with 27 additions and 23 deletions

View File

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

BIN
pytest_mpl-0.18.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jan 1 11:21:34 UTC 2026 - Ben Greiner <code@bnavigator.de>
- Update to 0.18.0
* Support generating summary reports when using pytest-xdist by
@ConorMacBride in #242
-------------------------------------------------------------------
Mon Sep 23 15:44:56 UTC 2024 - ecsos <ecsos@opensuse.org>

View File

@@ -18,36 +18,34 @@
%{?sle15_python_module_pythons}
Name: python-pytest-mpl
Version: 0.17.0
Version: 0.18.0
Release: 0
Summary: Pytest plugin for testing Matplotlib figures
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/matplotlib/pytest-mpl
# 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
Source: https://files.pythonhosted.org/packages/source/p/pytest_mpl/pytest_mpl-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
# Upstream says >= 80 but that is a bit ambitious and not needed here
BuildRequires: %{python_module setuptools}
# Upstream says >= 8 but that is not enough for the [simple] hook used
BuildRequires: %{python_module setuptools_scm >= 9}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Jinja2
Requires: python-Pillow
Requires: python-matplotlib
Requires: python-packaging
Requires: python-pytest
%if %python_version_nodots < 39
Requires: python-importlib-resources
%endif
Requires: python-Jinja2 >= 2.10.2
Requires: python-Pillow >= 8.1.1
Requires: python-matplotlib >= 3.3.3
Requires: python-packaging >= 22
Requires: python-pytest >= 5.4.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module importlib-resources if %python-base < 3.9}
BuildRequires: %{python_module matplotlib}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module Jinja2 >= 2.10.2}
BuildRequires: %{python_module Pillow >= 8.1.1}
BuildRequires: %{python_module matplotlib >= 3.3.3}
BuildRequires: %{python_module packaging >= 22}
BuildRequires: %{python_module pytest >= 5.4}
# /SECTION
%python_subpackages
@@ -55,10 +53,9 @@ BuildRequires: %{python_module pytest}
This is a pytest plugin to help with testing figures output from Matplotlib.
%prep
%setup -q -n pytest-mpl-%{version}
%setup -q -n pytest_mpl-%{version}
%build
export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
%pyproject_wheel
%install