Releases: matplotlib/pytest-mpl
Releases · matplotlib/pytest-mpl
v0.18.0
What's Changed
Exciting New Features 🎉
- Support generating summary reports when using
pytest-xdistby @ConorMacBride in #242
Other Changes
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #226
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #228
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #229
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #233
- CI: Harden GHA configuration by @tacaswell in #243
- Bump stefanzweifel/git-auto-commit-action from 4.16.0 to 6.0.1 by @dependabot[bot] in #244
- Bump OpenAstronomy/github-actions-workflows from 1 to 2 by @dependabot[bot] in #245
- Bump actions/checkout from 2 to 4 by @dependabot[bot] in #246
- Group all gha dependabot updates by @Cadair in #247
- Bump actions/checkout from 4 to 5 in the actions group by @dependabot[bot] in #249
- Set oldest macOS test to
mpl35by @ConorMacBride in #250 - Bump stefanzweifel/git-auto-commit-action from 6.0.1 to 7.0.0 in the actions group by @dependabot[bot] in #251
- MNT/DEP: migrate static package metadata to pyproject.toml and add missing lower bounds on direct dependencies by @neutrinoceros in #252
Infrastructure Changes
- Generate baseline hashes during tests to reduce flakiness by @ConorMacBride in #234
- Ensure requirements pinned in
tox.iniare not overridden by @ConorMacBride in #253
New Contributors
- @tacaswell made their first contribution in #243
- @dependabot[bot] made their first contribution in #244
Full Changelog: v0.17.0...v0.18.0
v0.17.0
What's Changed
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.pathby @eerovaher in #207 - Allow using
-p no:legacypathwithpytest>= 7 by @eerovaher in #213
Other Changes
- Add initial Sphinx docs by @ConorMacBride in #174
- Add documentation on avoiding
PytestReturnNotNoneWarningby @ConorMacBride in #185 - Add RTD config by @ConorMacBride in #195
- Migrate docs from
README.rstto 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 #184
- Upgrade for tox 4 by @ConorMacBride in #191
- Upgrade CI package versions by @ConorMacBride in #215
- Test wheel with 3.11 until
python-dateutilis updated for 3.12 by @ConorMacBride in #217 - Fix unclosed test files by @ConorMacBride in #222
New Contributors
- @theOehrly made their first contribution in #182
- @eerovaher made their first contribution in #207
Full Changelog: v0.16.1...v0.17.0
v0.16.1
What's Changed
Fixes
- Fix tests which exit before returning a figure or use
unittest.TestCaseby @ConorMacBride in #171
Other Changes
- Rename default branch to
mainby @ConorMacBride in #169
Full Changelog: v0.16.0...v0.16.1
v0.16.0
What's Changed
Fixes
- Make summary log message about test results in general instead of failures by @neutrinoceros in #148
- Add support for classes with pytest 7 by @ConorMacBride in #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 undocumentedmpl-use-full-test-nameini option is enabled, the the baseline images will need to be regenerated, or have their filename updated to include the class name.
Other Changes
- Improve parametrized test names in HTML summaries by @ConorMacBride in #165
Infrastructure Changes
- Pin tox environment
mpl35to matplotlib 3.5.1 by @ConorMacBride in #162 - [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #167
- Improve
tests/subtestsby @ConorMacBride in #163
New Contributors
- @neutrinoceros made their first contribution in #148
Full Changelog: v0.15.1...v0.16.0
v0.15.1
Fixes
- Add test for image shape mismatch and fix bug by @ConorMacBride in #145
Full Changelog: v0.15.0...v0.15.1
v0.15.0
Features
- Remove Python 2 from package classifiers by @dopplershift in #137
- Downloadable hash library in HTML summary by @ConorMacBride in #138
Fixes
- No need to warn when falling back to other URL by @pllim in #139
- Automatically update changelog in the repo after release by @Cadair in #143
Full Changelog: v0.14.0...v0.15.0