From 4ae5840a8bc13f69eb10d1e2590702f1a33fcdba Mon Sep 17 00:00:00 2001 From: lifeifei Date: Mon, 29 Jul 2024 17:14:34 +0800 Subject: [PATCH] backport-update-CHANGES --- backport-update-CHANGES.patch | 50 +++++++++++++++++++++++++++++++++++ python-pytest-mpl.spec | 9 ++++++- 2 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 backport-update-CHANGES.patch diff --git a/backport-update-CHANGES.patch b/backport-update-CHANGES.patch new file mode 100644 index 0000000..f8611e8 --- /dev/null +++ b/backport-update-CHANGES.patch @@ -0,0 +1,50 @@ +diff -apurN pytest-mpl-0.17.0/CHANGES.md pytest-mpl-0.17.0-new/CHANGES.md +--- pytest-mpl-0.17.0/CHANGES.md 2024-02-15 04:05:08.000000000 +0800 ++++ pytest-mpl-0.17.0-new/CHANGES.md 2024-07-29 17:08:15.957618420 +0800 +@@ -1,3 +1,46 @@ ++## v0.17.0 - 2024-02-14 ++ ++ ++### What's Changed ++ ++#### Fixes ++ ++* Improve Logging Configuration: don't modify root logger by @theOehrly in https://github.com/matplotlib/pytest-mpl/pull/182 ++* Improve error reporting when test raises an exception by @ConorMacBride in https://github.com/matplotlib/pytest-mpl/pull/193 ++* MNT: Compat with pytest 8.1 by @pllim in https://github.com/matplotlib/pytest-mpl/pull/219 ++ ++#### Exciting New Features 🎉 ++ ++* Added support for EPS, PDF, and SVG image comparison by @astrofrog in https://github.com/matplotlib/pytest-mpl/pull/194 ++* Started implementing support for deterministic figure output by @astrofrog in https://github.com/matplotlib/pytest-mpl/pull/196 ++* Add missing CLI and INI options for a consistent API by @astrofrog in https://github.com/matplotlib/pytest-mpl/pull/181 ++* Avoid using `py.path` by @eerovaher in https://github.com/matplotlib/pytest-mpl/pull/207 ++* Allow using `-p no:legacypath` with `pytest` >= 7 by @eerovaher in https://github.com/matplotlib/pytest-mpl/pull/213 ++ ++#### Other Changes ++ ++* Add initial Sphinx docs by @ConorMacBride in https://github.com/matplotlib/pytest-mpl/pull/174 ++* Add documentation on avoiding `PytestReturnNotNoneWarning` by @ConorMacBride in https://github.com/matplotlib/pytest-mpl/pull/185 ++* Add RTD config by @ConorMacBride in https://github.com/matplotlib/pytest-mpl/pull/195 ++* Migrate docs from `README.rst` to website by @ConorMacBride in https://github.com/matplotlib/pytest-mpl/pull/199 ++* Set deterministic to True for vector graphics and warn about change to True in future for PNG by @astrofrog in https://github.com/matplotlib/pytest-mpl/pull/197 ++ ++#### Infrastructure Changes ++ ++* Verify class-based testing configurations produce the expected results by @ConorMacBride in https://github.com/matplotlib/pytest-mpl/pull/175 ++* Update testing and CI for Matplotlib v3.6 by @ConorMacBride in https://github.com/matplotlib/pytest-mpl/pull/184 ++* Upgrade for tox 4 by @ConorMacBride in https://github.com/matplotlib/pytest-mpl/pull/191 ++* Upgrade CI package versions by @ConorMacBride in https://github.com/matplotlib/pytest-mpl/pull/215 ++* Test wheel with 3.11 until `python-dateutil` is updated for 3.12 by @ConorMacBride in https://github.com/matplotlib/pytest-mpl/pull/217 ++* Fix unclosed test files by @ConorMacBride in https://github.com/matplotlib/pytest-mpl/pull/222 ++ ++### New Contributors ++ ++* @theOehrly made their first contribution in https://github.com/matplotlib/pytest-mpl/pull/182 ++* @eerovaher made their first contribution in https://github.com/matplotlib/pytest-mpl/pull/207 ++ ++**Full Changelog**: https://github.com/matplotlib/pytest-mpl/compare/v0.16.1...v0.17.0 ++ + ## v0.16.1 - 2022-07-23 + + diff --git a/python-pytest-mpl.spec b/python-pytest-mpl.spec index 39b41df..2bb13f7 100644 --- a/python-pytest-mpl.spec +++ b/python-pytest-mpl.spec @@ -1,11 +1,12 @@ %global _empty_manifest_terminate_build 0 Name: python-pytest-mpl Version: 0.17.0 -Release: 1 +Release: 2 Summary: pytest plugin to help with testing figures output from Matplotlib License: BSD URL: https://github.com/matplotlib/pytest-mpl Source0: https://files.pythonhosted.org/packages/a9/81/636f9ea4ec0182abc0ab96e5abeab39fc1d9ce8fecf19e2943d685de519f/pytest-mpl-0.17.0.tar.gz +Patch1: backport-update-CHANGES.patch BuildArch: noarch %description --This is a plugin to facilitate image comparison for Matplotlib <>_ figures in @@ -96,6 +97,12 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Jul 29 2024 lifeifei - 0.17.0-2 +- Type:update +- CVE:NA +- SUG:NA +- DESC:Migration patch from upstream, update-CHANGES. + * Wed Jul 24 2024 liudy - 0.17.0-1 - Update version to 0.17.0 - Improve Logging Configuration: don't modify root logger -- Gitee