Skip to content

Commit 50a2774

Browse files
authored
Bump pytest from 7.4.4 to 8.0.2 (#21)
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>
2 parents 359b458 + 5902718 commit 50a2774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ dev-pylint = [
7979
"pymdownx-superfence-filter-lines[dev-mkdocs,dev-noxfile,dev-pytest]",
8080
]
8181
dev-pytest = [
82-
"pytest == 7.4.4",
82+
"pytest == 8.0.2",
8383
"frequenz-repo-config[extra-lint-examples] == 0.9.1",
8484
"pytest-mock == 3.12.0",
8585
"pytest-asyncio == 0.23.5",

0 commit comments

Comments
 (0)