Skip to content

Commit 0025a31

Browse files
Bump pytest from 7.4.4 to 8.0.1 (#106)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.4 to 8.0.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>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> <p><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}.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/11758">#11758</a>: Fixed <code>IndexError: string index out of range</code> crash in <code>if highlighted[-1] == &quot;\n&quot; and source[-1] != &quot;\n&quot;</code>. This bug was introduced in pytest 8.0.0rc1.</p> </li> <li> <p><a href="https://redirect.github.com/pytest-dev/pytest/issues/9765">#9765</a>, <a href="https://redirect.github.com/pytest-dev/pytest/issues/11816">#11816</a>: Fixed a frustrating bug that afflicted some users with the only error being <code>assert mod not in mods</code>. The issue was caused by the fact that <code>str(Path(mod))</code> and <code>mod.__file__</code> don't necessarily produce the same string, and was being erroneously used interchangably in some places in the code.</p> <p>This fix also broke the internal API of <code>PytestPluginManager.consider_conftest</code> by introducing a new parameter -- we mention this in case it is being used by external code, even if marked as <em>private</em>.</p> </li> </ul> <h2>pytest 8.0.0rc1 (2023-12-30)</h2> <p>See <a href="https://docs.pytest.org/en/latest/changelog.html#pytest-8-0-0rc1-2023-12-30">https://docs.pytest.org/en/latest/changelog.html#pytest-8-0-0rc1-2023-12-30</a> for the rendered changelog.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/d7d320a15a1f8dae909e0aa71f20ab5daeaa42d3"><code>d7d320a</code></a> Prepare release version 8.0.1</li> <li><a href="https://github.com/pytest-dev/pytest/commit/93699166dc3d90676b126d2b1615fbd41cf0be4d"><code>9369916</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/11992">#11992</a> from bluetech/backport-11991</li> <li><a href="https://github.com/pytest-dev/pytest/commit/a232abd56cd7ddc0d6dbeefd851c538ec547ab06"><code>a232abd</code></a> [8.0.x] recwarn: fix pytest.warns handling of Warnings with multiple arguments</li> <li><a href="https://github.com/pytest-dev/pytest/commit/92203d2b78135446510ec70d46452937effcb1d9"><code>92203d2</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/11990">#11990</a> from bluetech/backport-11920</li> <li><a href="https://github.com/pytest-dev/pytest/commit/f1aa9226ac5b1962fdad442652765d5e589c7137"><code>f1aa922</code></a> [8.0.x] recwarn: let base exceptions propagate through <code>pytest.warns</code> again</li> <li><a href="https://github.com/pytest-dev/pytest/commit/d86d08156337b40ad0cf6e4bfe38ecfa0e5eb5bd"><code>d86d081</code></a> [8.0.x] Added <code>logot</code> to the plugin list (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11977">#11977</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/c554c3d200747f9f56b4054619ba4fb6f8910bb5"><code>c554c3d</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/11968">#11968</a> from pytest-dev/backport-11957-to-8.0.x</li> <li><a href="https://github.com/pytest-dev/pytest/commit/a6851e3459159f94387debf0b357c9b6481a2f48"><code>a6851e3</code></a> [8.0.x] main: fix reversed collection order in Session</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e6f6be3bc9e876f1853fdea68ec49cfc1c4c246d"><code>e6f6be3</code></a> [8.0.x] Improve error message when using <a href="https://github.com/pytest"><code>@​pytest</code></a>.fixture twice (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11958">#11958</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/23b91d12de9bcbd0ce965bebefcbcc53a588b438"><code>23b91d1</code></a> [8.0.x] Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/11941">#11941</a> from bluetech/doctest-parsefactories (<a href="https://redirect.github.com/pytest-dev/pytest/issues/11948">#11948</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/7.4.4...8.0.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.4.4&new-version=8.0.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 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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 9ca9d34 commit 0025a31

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

poetry.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ simsimd = "^3.6.1"
1616
optional = true
1717

1818
[tool.poetry.group.test.dependencies]
19-
pytest = "^7.3.0"
19+
pytest = ">=7.3,<9.0"
2020
freezegun = "^1.2.2"
2121
pytest-mock = "^3.10.0"
2222
syrupy = "^4.0.2"

0 commit comments

Comments
 (0)