chore(deps-dev): bump pytest from 7.4.4 to 8.0.2 #74

Closed
opened 2025-10-14 16:05:25 -06:00 by navan · 0 comments
Owner

Originally created by @dependabot[bot] on 2/26/2024

Bumps pytest from 7.4.4 to 8.0.2.

Release notes

Sourced from pytest's releases.

8.0.2

pytest 8.0.2 (2024-02-24)

Bug Fixes

  • #11895: Fix collection on Windows where initial paths contain the short version of a path (for example c:\PROGRA~1\tests).
  • #11953: Fix an IndexError crash raising from getstatementrange_ast.
  • #12021: Reverted a fix to [--maxfail]{.title-ref} handling in pytest 8.0.0 because it caused a regression in pytest-xdist whereby session fixture teardowns may get executed multiple times when the max-fails is reached.

8.0.1

pytest 8.0.1 (2024-02-16)

Bug Fixes

  • #11875: Correctly handle errors from getpass.getuser{.interpreted-text role="func"} in Python 3.13.
  • #11879: Fix an edge case where ExceptionInfo._stringify_exception could crash pytest.raises{.interpreted-text role="func"}.
  • #11906: Fix regression with pytest.warns{.interpreted-text role="func"} using custom warning subclasses which have more than one parameter in their [__init__]{.title-ref}.
  • #11907: Fix a regression in pytest 8.0.0 whereby calling pytest.skip{.interpreted-text role="func"} and similar control-flow exceptions within a pytest.warns(){.interpreted-text role="func"} block would get suppressed instead of propagating.
  • #11929: Fix a regression in pytest 8.0.0 whereby autouse fixtures defined in a module get ignored by the doctests in the module.
  • #11937: Fix a regression in pytest 8.0.0 whereby items would be collected in reverse order in some circumstances.

pytest 8.0.0 (2024-01-27)

See 8.0.0rc1 and 8.0.0rc2 for the full changes since pytest 7.4!

Bug Fixes

  • #11842: Properly escape the reason of a skip <pytest.mark.skip ref>{.interpreted-text role="ref"} mark when writing JUnit XML files.
  • #11861: Avoid microsecond exceeds 1_000_000 when using log-date-format with %f specifier, which might cause the test suite to crash.

8.0.0rc2

pytest 8.0.0rc2 (2024-01-17)

Improvements

  • #11233: Improvements to -r for xfailures and xpasses:
    • Report tracebacks for xfailures when -rx is set.
    • Report captured output for xpasses when -rX is set.
    • For xpasses, add - in summary between test name and reason, to match how xfail is displayed.
  • #11825: The pytest_plugin_registered{.interpreted-text role="hook"} hook has a new plugin_name parameter containing the name by which plugin is registered.

Bug Fixes

  • #11706: Fix reporting of teardown errors in higher-scoped fixtures when using [--maxfail]{.title-ref} or [--stepwise]{.title-ref}.

... (truncated)

Commits
  • 31afeeb Prepare release version 8.0.2
  • 1b00a2f Merge pull request #12025 from pytest-dev/backport-12022-to-8.0.x
  • ff2f66d [8.0.x] Revert "Fix teardown error reporting when --maxfail=1 (#11721)"
  • 8a8eed6 [8.0.x] Fix collection of short paths on Windows (#12024)
  • 74346f0 [8.0.x] Allow Sphinx 7.x (#12005)
  • b7657b4 [8.0.x] Disallow Sphinx 6 and 7 (#12001)
  • feb7c5e Merge pull request #11999 from pytest-dev/backport-11996-to-8.0.x
  • 0909655 [8.0.x] code: fix IndexError crash in getstatementrange_ast
  • 68524d4 Merge pull request #11993 from pytest-dev/release-8.0.1
  • d7d320a Prepare release version 8.0.1
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
*Originally created by @dependabot[bot] on 2/26/2024* Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.4 to 8.0.2. <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>8.0.2</h2> <h1>pytest 8.0.2 (2024-02-24)</h1> <h2>Bug Fixes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11895">#11895</a>: Fix collection on Windows where initial paths contain the short version of a path (for example <code>c:\PROGRA~1\tests</code>).</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11953">#11953</a>: Fix an <code>IndexError</code> crash raising from <code>getstatementrange_ast</code>.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12021">#12021</a>: Reverted a fix to [--maxfail]{.title-ref} handling in pytest 8.0.0 because it caused a regression in pytest-xdist whereby session fixture teardowns may get executed multiple times when the max-fails is reached.</li> </ul> <h2>8.0.1</h2> <h1>pytest 8.0.1 (2024-02-16)</h1> <h2>Bug Fixes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11875">#11875</a>: Correctly handle errors from <code>getpass.getuser</code>{.interpreted-text role=&quot;func&quot;} in Python 3.13.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11879">#11879</a>: Fix an edge case where <code>ExceptionInfo._stringify_exception</code> could crash <code>pytest.raises</code>{.interpreted-text role=&quot;func&quot;}.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11906">#11906</a>: Fix regression with <code>pytest.warns</code>{.interpreted-text role=&quot;func&quot;} using custom warning subclasses which have more than one parameter in their [__init__]{.title-ref}.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11907">#11907</a>: Fix a regression in pytest 8.0.0 whereby calling <code>pytest.skip</code>{.interpreted-text role=&quot;func&quot;} and similar control-flow exceptions within a <code>pytest.warns()</code>{.interpreted-text role=&quot;func&quot;} block would get suppressed instead of propagating.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11929">#11929</a>: Fix a regression in pytest 8.0.0 whereby autouse fixtures defined in a module get ignored by the doctests in the module.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11937">#11937</a>: Fix a regression in pytest 8.0.0 whereby items would be collected in reverse order in some circumstances.</li> </ul> <h2>pytest 8.0.0 (2024-01-27)</h2> <p>See <a href="https://github.com/pytest-dev/pytest/releases/tag/8.0.0rc1">8.0.0rc1</a> and <a href="https://github.com/pytest-dev/pytest/releases/tag/8.0.0rc2">8.0.0rc2</a> for the full changes since pytest 7.4!</p> <h2>Bug Fixes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11842">#11842</a>: Properly escape the <code>reason</code> of a <code>skip &lt;pytest.mark.skip ref&gt;</code>{.interpreted-text role=&quot;ref&quot;} mark when writing JUnit XML files.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11861">#11861</a>: Avoid microsecond exceeds <code>1_000_000</code> when using <code>log-date-format</code> with <code>%f</code> specifier, which might cause the test suite to crash.</li> </ul> <h2>8.0.0rc2</h2> <h1>pytest 8.0.0rc2 (2024-01-17)</h1> <h2>Improvements</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11233">#11233</a>: Improvements to <code>-r</code> for xfailures and xpasses: <ul> <li>Report tracebacks for xfailures when <code>-rx</code> is set.</li> <li>Report captured output for xpasses when <code>-rX</code> is set.</li> <li>For xpasses, add <code>-</code> in summary between test name and reason, to match how xfail is displayed.</li> </ul> </li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11825">#11825</a>: The <code>pytest_plugin_registered</code>{.interpreted-text role=&quot;hook&quot;} hook has a new <code>plugin_name</code> parameter containing the name by which <code>plugin</code> is registered.</li> </ul> <h2>Bug Fixes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/11706">#11706</a>: Fix reporting of teardown errors in higher-scoped fixtures when using [--maxfail]{.title-ref} or [--stepwise]{.title-ref}.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/31afeeb0df0e8bdab1325b5992a2cc733e981e82"><code>31afeeb</code></a> Prepare release version 8.0.2</li> <li><a href="https://github.com/pytest-dev/pytest/commit/1b00a2f4fba7859c31dab4f5afdd9e1f07cbdd1e"><code>1b00a2f</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12025">#12025</a> from pytest-dev/backport-12022-to-8.0.x</li> <li><a href="https://github.com/pytest-dev/pytest/commit/ff2f66d84affb0fbcbf841b1897c7599026730bc"><code>ff2f66d</code></a> [8.0.x] Revert &quot;Fix teardown error reporting when <code>--maxfail=1</code> (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11721">#11721</a>)&quot;</li> <li><a href="https://github.com/pytest-dev/pytest/commit/8a8eed609c3c20da452446e1686df41ebda96d11"><code>8a8eed6</code></a> [8.0.x] Fix collection of short paths on Windows (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12024">#12024</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/74346f027c205e5daffe66801094293744e8d85f"><code>74346f0</code></a> [8.0.x] Allow Sphinx 7.x (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12005">#12005</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/b7657b4d6b69ee26e00d9a71c4d208506f644462"><code>b7657b4</code></a> [8.0.x] Disallow Sphinx 6 and 7 (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12001">#12001</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/feb7c5e12ee3374b2c7c773614d76811ad21a4f4"><code>feb7c5e</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/11999">#11999</a> from pytest-dev/backport-11996-to-8.0.x</li> <li><a href="https://github.com/pytest-dev/pytest/commit/090965574ece50c6be955719ced2a9cf8daaee17"><code>0909655</code></a> [8.0.x] code: fix <code>IndexError</code> crash in <code>getstatementrange_ast</code></li> <li><a href="https://github.com/pytest-dev/pytest/commit/68524d48586e7f8d070fc1146e5ff90e770d0382"><code>68524d4</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/11993">#11993</a> from pytest-dev/release-8.0.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/d7d320a15a1f8dae909e0aa71f20ab5daeaa42d3"><code>d7d320a</code></a> Prepare release version 8.0.1</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/7.4.4...8.0.2">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.4.4&new-version=8.0.2)](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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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>
Sign in to join this conversation.
No labels
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
enhancement
enhancement
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
github_actions
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
python
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/mitmproxy2swagger#74
No description provided.