Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
build(deps-dev): Bump pytest from 7.3.2 to 7.4.0 (#130)
Browse files Browse the repository at this point in the history
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.3.2 to
7.4.0.
<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.4.0</h2>
<h1>pytest 7.4.0 (2023-06-23)</h1>
<h2>Features</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10901">#10901</a>:
Added <code>ExceptionInfo.from_exception()
&lt;pytest.ExceptionInfo.from_exception&gt;</code>{.interpreted-text
role=&quot;func&quot;}, a simpler way to create an
<code>~pytest.ExceptionInfo</code>{.interpreted-text
role=&quot;class&quot;} from an exception.
This can replace <code>ExceptionInfo.from_exc_info()
&lt;pytest.ExceptionInfo.from_exc_info()&gt;</code>{.interpreted-text
role=&quot;func&quot;} for most uses.</li>
</ul>
<h2>Improvements</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10872">#10872</a>:
Update test log report annotation to named tuple and fixed inconsistency
in docs for <code>pytest_report_teststatus</code>{.interpreted-text
role=&quot;hook&quot;} hook.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10907">#10907</a>:
When an exception traceback to be displayed is completely filtered out
(by mechanisms such as <code>__tracebackhide__</code>, internal frames,
and similar), now only the exception string and the following message
are shown:</p>
<p>&quot;All traceback entries are hidden. Pass
[--full-trace]{.title-ref} to see hidden and internal frames.&quot;.</p>
<p>Previously, the last frame of the traceback was shown, even though it
was hidden.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10940">#10940</a>:
Improved verbose output (<code>-vv</code>) of <code>skip</code> and
<code>xfail</code> reasons by performing text wrapping while leaving a
clear margin for progress output.</p>
<p>Added <code>TerminalReporter.wrap_write()</code> as a helper for
that.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10991">#10991</a>:
Added handling of <code>%f</code> directive to print microseconds in log
format options, such as <code>log-date-format</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11005">#11005</a>:
Added the underlying exception to the cache provider's path creation and
write warning messages.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11013">#11013</a>:
Added warning when <code>testpaths</code>{.interpreted-text
role=&quot;confval&quot;} is set, but paths are not found by glob. In
this case, pytest will fall back to searching from the current
directory.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11043">#11043</a>:
When [--confcutdir]{.title-ref} is not specified, and there is no config
file present, the conftest cutoff directory ([--confcutdir]{.title-ref})
is now set to the <code>rootdir &lt;rootdir&gt;</code>{.interpreted-text
role=&quot;ref&quot;}.
Previously in such cases, [conftest.py]{.title-ref} files would be
probed all the way to the root directory of the filesystem.
If you are badly affected by this change, consider adding an empty
config file to your desired cutoff directory, or explicitly set
[--confcutdir]{.title-ref}.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/11081">#11081</a>:
The <code>norecursedirs</code>{.interpreted-text
role=&quot;confval&quot;} check is now performed in a
<code>pytest_ignore_collect</code>{.interpreted-text
role=&quot;hook&quot;} implementation, so plugins can affect it.</p>
<p>If after updating to this version you see that your
[norecursedirs]{.title-ref} setting is not being respected,
it means that a conftest or a plugin you use has a bad
[pytest_ignore_collect]{.title-ref} implementation.
Most likely, your hook returns [False]{.title-ref} for paths it does not
want to ignore,
which ends the processing and doesn't allow other plugins, including
pytest itself, to ignore the path.
The fix is to return [None]{.title-ref} instead of [False]{.title-ref}
for paths your hook doesn't want to ignore.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/8711">#8711</a>:
<code>caplog.set_level()
&lt;pytest.LogCaptureFixture.set_level&gt;</code>{.interpreted-text
role=&quot;func&quot;} and <code>caplog.at_level()
&lt;pytest.LogCaptureFixture.at_level&gt;</code>{.interpreted-text
role=&quot;func&quot;}
will temporarily enable the requested <code>level</code> if
<code>level</code> was disabled globally via
<code>logging.disable(LEVEL)</code>.</p>
</li>
</ul>
<h2>Bug Fixes</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest/commit/d9bf9dbec104af1e3a2c02b04f4e1d501d5d86a2"><code>d9bf9db</code></a>
Prepare release version 7.4.0</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/64319dbc01767c73161be630bb6986c4f1402c3e"><code>64319db</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11128">#11128</a>
from bluetech/pythonpath-note</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/1e8135df16fff350d0097a41b739745a9e14edec"><code>1e8135d</code></a>
reference: add note that <code>pythonpath</code> does not affect
<code>-p</code></li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/1e32a4b57030d06eec09e6c1d484e55709f59991"><code>1e32a4b</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/10935">#10935</a>
from nondescryptid/10328</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/faa1f9d2ad88d788cf035e5ed8ed78d248c24c09"><code>faa1f9d</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/11125">#11125</a>
from bluetech/initial-conftests-testpaths</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/14890329dcdc37085a8ac9c53ce332df9faead30"><code>1489032</code></a>
config: fix the paths considered for initial conftest discovery</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/d97d44a97af2303eb3f3aea1f16fd834f5415509"><code>d97d44a</code></a>
config: extract initial paths/nodeids args logic to a function</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/f6b995e9d59a0b7e1e52fb64185e9e1d1dae367d"><code>f6b995e</code></a>
Use utf-8 debug file</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/661b938fcad0ece7d017d76d412fff220e43a865"><code>661b938</code></a>
Add encoding in more tests</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/7e510769b4a9b67ef3802a894b36e7978fa222f8"><code>7e51076</code></a>
Encoding for subprocess.run</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/7.3.2...7.4.0">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.3.2&new-version=7.4.0)](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
dependabot[bot] committed Jun 26, 2023
1 parent 38ca96f commit b15c199
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b15c199

Please sign in to comment.