From 20b389c6da3912c18abbf74baa27b048cc80daed Mon Sep 17 00:00:00 2001 From: ConorMacBride Date: Wed, 14 Feb 2024 19:59:20 +0000 Subject: [PATCH 1/4] Update CHANGELOG --- CHANGES.md | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 2f431f29..08ae124f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 @@ -21,7 +64,9 @@ - Add support for classes with pytest 7 by @ConorMacBride in https://github.com/matplotlib/pytest-mpl/pull/164 - Note that this change necessitated a minor breaking change for figure tests within classes only, and the following will need to be done: - - Hash library test names will need to be regenerated/updated to include the class name. + - - If the undocumented `mpl-use-full-test-name` ini option is enabled, the the baseline images will need to be regenerated, or have their filename updated to include the class name. + ### Other Changes From aa7b0759a7a52d68c9c39ea74d0b6e1637e2e2f2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 8 Apr 2024 17:49:12 +0000 Subject: [PATCH 2/4] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e2140b32..b78994c4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -76,7 +76,7 @@ repos: args: ["--sp", "setup.cfg"] exclude: ".*(docs/conf.py)$" - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-ast - id: check-case-conflict From da2db94306891ac57636af73056c0486c93c0f19 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 17:41:48 +0000 Subject: [PATCH 3/4] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/PyCQA/flake8: 7.0.0 → 7.1.0](https://github.com/PyCQA/flake8/compare/7.0.0...7.1.0) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b78994c4..13e3e83d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -60,7 +60,7 @@ repos: # W605 - Fix invalid escape sequence 'x'. # W690 - Fix various deprecated code (via lib2to3). - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.1.0 hooks: - id: flake8 args: From db2948b9caa837d3668ccdcee82e3ed0d3bbbb55 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 17:56:41 +0000 Subject: [PATCH 4/4] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/PyCQA/flake8: 7.1.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/7.1.0...7.1.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 13e3e83d..2226611c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -60,7 +60,7 @@ repos: # W605 - Fix invalid escape sequence 'x'. # W690 - Fix various deprecated code (via lib2to3). - repo: https://github.com/PyCQA/flake8 - rev: 7.1.0 + rev: 7.1.1 hooks: - id: flake8 args: