This repository has been archived by the owner on Nov 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps-dev): bump pytest from 7.2.2 to 7.3.1 (#58)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.2.2 to 7.3.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>7.3.1</h2> <h1>pytest 7.3.1 (2023-04-14)</h1> <h2>Improvements</h2> <ul> <li><a href="https://github.com/pytest-dev/pytest/issues/10875">#10875</a>: Python 3.12 support: fixed <code>RuntimeError: TestResult has no addDuration method</code> when running <code>unittest</code> tests.</li> <li><a href="https://github.com/pytest-dev/pytest/issues/10890">#10890</a>: Python 3.12 support: fixed <code>shutil.rmtree(onerror=...)</code> deprecation warning when using <code>tmp_path</code>{.interpreted-text role="fixture"}.</li> </ul> <h2>Bug Fixes</h2> <ul> <li><a href="https://github.com/pytest-dev/pytest/issues/10896">#10896</a>: Fixed performance regression related to <code>tmp_path</code>{.interpreted-text role="fixture"} and the new <code>tmp_path_retention_policy</code>{.interpreted-text role="confval"} option.</li> <li><a href="https://github.com/pytest-dev/pytest/issues/10903">#10903</a>: Fix crash <code>INTERNALERROR IndexError: list index out of range</code> which happens when displaying an exception where all entries are hidden. This reverts the change "Correctly handle <code>__tracebackhide__</code> for chained exceptions." introduced in version 7.3.0.</li> </ul> <h2>7.3.0</h2> <h1>pytest 7.3.0 (2023-04-08)</h1> <h2>Features</h2> <ul> <li><a href="https://github.com/pytest-dev/pytest/issues/10525">#10525</a>: Test methods decorated with <code>@classmethod</code> can now be discovered as tests, following the same rules as normal methods. This fills the gap that static methods were discoverable as tests but not class methods.</li> <li><a href="https://github.com/pytest-dev/pytest/issues/10755">#10755</a>: <code>console_output_style</code>{.interpreted-text role="confval"} now supports <code>progress-even-when-capture-no</code> to force the use of the progress output even when capture is disabled. This is useful in large test suites where capture may have significant performance impact.</li> <li><a href="https://github.com/pytest-dev/pytest/issues/7431">#7431</a>: <code>--log-disable</code> CLI option added to disable individual loggers.</li> <li><a href="https://github.com/pytest-dev/pytest/issues/8141">#8141</a>: Added <code>tmp_path_retention_count</code>{.interpreted-text role="confval"} and <code>tmp_path_retention_policy</code>{.interpreted-text role="confval"} configuration options to control how directories created by the <code>tmp_path</code>{.interpreted-text role="fixture"} fixture are kept.</li> </ul> <h2>Improvements</h2> <ul> <li><a href="https://github.com/pytest-dev/pytest/issues/10226">#10226</a>: If multiple errors are raised in teardown, we now re-raise an <code>ExceptionGroup</code> of them instead of discarding all but the last.</li> <li><a href="https://github.com/pytest-dev/pytest/issues/10658">#10658</a>: Allow <code>-p</code> arguments to include spaces (eg: <code>-p no:logging</code> instead of <code>-pno:logging</code>). Mostly useful in the <code>addopts</code> section of the configuration file.</li> <li><a href="https://github.com/pytest-dev/pytest/issues/10710">#10710</a>: Added <code>start</code> and <code>stop</code> timestamps to <code>TestReport</code> objects.</li> <li><a href="https://github.com/pytest-dev/pytest/issues/10727">#10727</a>: Split the report header for <code>rootdir</code>, <code>config file</code> and <code>testpaths</code> so each has its own line.</li> <li><a href="https://github.com/pytest-dev/pytest/issues/10840">#10840</a>: pytest should no longer crash on AST with pathological position attributes, for example testing AST produced by [Hylang <https://github.com/hylang/hy>__]{.title-ref}.</li> <li><a href="https://github.com/pytest-dev/pytest/issues/6267">#6267</a>: The full output of a test is no longer truncated if the truncation message would be longer than the hidden text. The line number shown has also been fixed.</li> </ul> <h2>Bug Fixes</h2> <ul> <li><a href="https://github.com/pytest-dev/pytest/issues/10743">#10743</a>: The assertion rewriting mechanism now works correctly when assertion expressions contain the walrus operator.</li> <li><a href="https://github.com/pytest-dev/pytest/issues/10765">#10765</a>: Fixed <code>tmp_path</code>{.interpreted-text role="fixture"} fixture always raising <code>OSError</code>{.interpreted-text role="class"} on <code>emscripten</code> platform due to missing <code>os.getuid</code>{.interpreted-text role="func"}.</li> <li><a href="https://github.com/pytest-dev/pytest/issues/1904">#1904</a>: Correctly handle <code>__tracebackhide__</code> for chained exceptions.</li> </ul> <p>Improved Documentation</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/dab199281c8f969ef870d842a660e40872785bd4"><code>dab1992</code></a> Prepare release version 7.3.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/c3d9dacd3987f14c230a0bc9e30fa064df30891f"><code>c3d9dac</code></a> [7.3.x] Fix tmp_path regression introduced in 7.3.0 (<a href="https://github.com/pytest-dev/pytest/issues/10912">#10912</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/06d759619df7422d45df6c870e1846854a5a0143"><code>06d7596</code></a> Merge pull request <a href="https://github.com/pytest-dev/pytest/issues/10906">#10906</a> from pytest-dev/backport-10904-to-7.3.x</li> <li><a href="https://github.com/pytest-dev/pytest/commit/a4121aa0b6d7f8d67c6934dbb81671a859b9bdf3"><code>a4121aa</code></a> [7.3.x] Revert "Correctly handle tracebackhide for chained exceptions (<a href="https://github.com/pytest-dev/pytest/issues/10772">#10772</a>)"</li> <li><a href="https://github.com/pytest-dev/pytest/commit/6e26c2bf9be582b95227e2dc235473680fc5d59c"><code>6e26c2b</code></a> Merge pull request <a href="https://github.com/pytest-dev/pytest/issues/10898">#10898</a> from pytest-dev/backport-10893-to-7.3.x</li> <li><a href="https://github.com/pytest-dev/pytest/commit/23cf1feb973d4036458860e8b08bbbbd250edd4d"><code>23cf1fe</code></a> [7.3.x] Python 3.12 alpha fixes</li> <li><a href="https://github.com/pytest-dev/pytest/commit/1a427d32d6d13a16cd669ffeb7ece254167db3c8"><code>1a427d3</code></a> [7.3.x] Amend changelog note for removal of attrs (<a href="https://github.com/pytest-dev/pytest/issues/10889">#10889</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/cec5bfe0588adaa2ca36c72c724378982db6410a"><code>cec5bfe</code></a> Merge pull request <a href="https://github.com/pytest-dev/pytest/issues/10881">#10881</a> from pytest-dev/release-7.3.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/ef982aaf2bce28d6b27e24756a4d29377a593a1d"><code>ef982aa</code></a> Prepare release version 7.3.0</li> <li><a href="https://github.com/pytest-dev/pytest/commit/3683722bcbc0facc8fe695c7ece286f26fc6234f"><code>3683722</code></a> FormattedExcinfo.get_source: avoid crash when line number is out-of-bounds/ne...</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/7.2.2...7.3.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pytest&package-manager=pip&previous-version=7.2.2&new-version=7.3.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information