Skip to content

Commit

Permalink
Bump pytest from 8.2.2 to 8.3.1 (#8527)
Browse files Browse the repository at this point in the history
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.2 to
8.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>8.3.1</h2>
<h1>pytest 8.3.1 (2024-07-20)</h1>
<p>The 8.3.0 release failed to include the change notes and docs for the
release. This patch release remedies this. There are no other
changes.</p>
<h2>8.3.0</h2>
<h1>pytest 8.3.0 (2024-07-20)</h1>
<h2>New features</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12231">#12231</a>:
Added [--xfail-tb]{.title-ref} flag, which turns on traceback output for
XFAIL results.</p>
<ul>
<li>If the [--xfail-tb]{.title-ref} flag is not given, tracebacks for
XFAIL results are NOT shown.</li>
<li>The style of traceback for XFAIL is set with [--tb]{.title-ref}, and
can be [auto|long|short|line|native|no]{.title-ref}.</li>
<li>Note: Even if you have [--xfail-tb]{.title-ref} set, you won't see
them if [--tb=no]{.title-ref}.</li>
</ul>
<p>Some history:</p>
<p>With pytest 8.0, [-rx]{.title-ref} or [-ra]{.title-ref} would not
only turn on summary reports for xfail, but also report the tracebacks
for xfail results. This caused issues with some projects that utilize
xfail, but don't want to see all of the xfail tracebacks.</p>
<p>This change detaches xfail tracebacks from [-rx]{.title-ref}, and now
we turn on xfail tracebacks with [--xfail-tb]{.title-ref}. With this,
the default [-rx]{.title-ref}/ [-ra]{.title-ref} behavior is identical
to pre-8.0 with respect to xfail tracebacks. While this is a behavior
change, it brings default behavior back to pre-8.0.0 behavior, which
ultimately was considered the better course of action.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12281">#12281</a>:
Added support for keyword matching in marker expressions.</p>
<p>Now tests can be selected by marker keyword arguments.
Supported values are <code>int</code>{.interpreted-text
role=&quot;class&quot;}, (unescaped) <code>str</code>{.interpreted-text
role=&quot;class&quot;}, <code>bool</code>{.interpreted-text
role=&quot;class&quot;} &amp; <code>None</code>{.interpreted-text
role=&quot;data&quot;}.</p>
<p>See <code>marker examples
&lt;marker_keyword_expression_example&gt;</code>{.interpreted-text
role=&quot;ref&quot;} for more information.</p>
<p>-- by <code>lovetheguitar</code>{.interpreted-text
role=&quot;user&quot;}</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12567">#12567</a>:
Added <code>--no-fold-skipped</code> command line option.</p>
<p>If this option is set, then skipped tests in short summary are no
longer grouped
by reason but all tests are printed individually with their nodeid in
the same
way as other statuses.</p>
<p>-- by <code>pbrezina</code>{.interpreted-text
role=&quot;user&quot;}</p>
</li>
</ul>
<h2>Improvements in existing functionality</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12469">#12469</a>:
The console output now uses the &quot;third-party plugins&quot;
terminology,
replacing the previously established but confusing and outdated
reference to <code>setuptools
&lt;setuptools:index&gt;</code>{.interpreted-text
role=&quot;std:doc&quot;}
-- by <code>webknjaz</code>{.interpreted-text
role=&quot;user&quot;}.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/12544">#12544</a>,
<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12545">#12545</a>:
Python virtual environment detection was improved by
checking for a <code>pyvenv.cfg</code>{.interpreted-text
role=&quot;file&quot;} file, ensuring reliable detection on
various platforms -- by <code>zachsnickers</code>{.interpreted-text
role=&quot;user&quot;}.</p>
</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/de98446075cc07c768387cf64ba497dd75c205de"><code>de98446</code></a>
Prepare release version 8.3.1</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/bd0a0424037825bc23b9bf299115e92c53a67a9c"><code>bd0a042</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12636">#12636</a>
from pytest-dev/update-release-notes</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/664325bc9fd90217f51fe7cc0e9fff2f29a41a15"><code>664325b</code></a>
doc/changelog: update 8.3.0 notes</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/19d225d0ab0f586a9a1fc878dff871495c12bd06"><code>19d225d</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12635">#12635</a>
from pytest-dev/release-8.3.0</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/bc3302850c52ec945eea1b2bbde7ec3b91fc3e44"><code>bc33028</code></a>
Prepare release version 8.3.0</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/a7d5a8eba9addd119432fa71880b51052a89812f"><code>a7d5a8e</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/12557">#12557</a>
from x612skm/maintainence/11771-pypy-3.9-bump</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/ced7072bb4f7653ad2f1d0d33639d87e7bc5f358"><code>ced7072</code></a>
Add a change note for PR <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11771">#11771</a></li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/d42b76daadb88d993ee74753766e22711a27395f"><code>d42b76d</code></a>
Adjust test_errors_in_xfail_skip_expressions for PyPy</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/9eee45a7479cf5fa23b79057708a994a3b8d0eee"><code>9eee45a</code></a>
Bump PyPy runtime to v3.9 @ GHA</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/d489247505a953885a156e61d4473497cbc167ea"><code>d489247</code></a>
Fix caching of parameterized fixtures (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/12600">#12600</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/8.2.2...8.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=8.2.2&new-version=8.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 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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jul 22, 2024
1 parent 8620b23 commit be2a8bf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ pyproject-hooks==1.0.0
# via
# build
# pip-tools
pytest==8.2.2
pytest==8.3.1
# via
# -r requirements/lint.in
# -r requirements/test.in
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ pyproject-hooks==1.0.0
# via
# build
# pip-tools
pytest==8.2.2
pytest==8.3.1
# via
# -r requirements/lint.in
# -r requirements/test.in
Expand Down
2 changes: 1 addition & 1 deletion requirements/lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pydantic-core==2.18.2
# via pydantic
pygments==2.17.2
# via rich
pytest==8.2.2
pytest==8.3.1
# via -r requirements/lint.in
python-on-whales==0.72.0
# via -r requirements/lint.in
Expand Down
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pydantic==2.2.0
# via python-on-whales
pydantic-core==2.6.0
# via pydantic
pytest==8.2.2
pytest==8.3.1
# via
# -r requirements/test.in
# pytest-cov
Expand Down

0 comments on commit be2a8bf

Please sign in to comment.