chore(deps-dev): Bump pytest from 7.3.1 to 7.4.0 in /schemas (#9176)

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.3.1 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="d9bf9dbec1"><code>d9bf9db</code></a>
Prepare release version 7.4.0</li>
<li><a
href="64319dbc01"><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="1e8135df16"><code>1e8135d</code></a>
reference: add note that <code>pythonpath</code> does not affect
<code>-p</code></li>
<li><a
href="1e32a4b570"><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="faa1f9d2ad"><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="14890329dc"><code>1489032</code></a>
config: fix the paths considered for initial conftest discovery</li>
<li><a
href="d97d44a97a"><code>d97d44a</code></a>
config: extract initial paths/nodeids args logic to a function</li>
<li><a
href="f6b995e9d5"><code>f6b995e</code></a>
Use utf-8 debug file</li>
<li><a
href="661b938fca"><code>661b938</code></a>
Add encoding in more tests</li>
<li><a
href="7e510769b4"><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.1...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.1&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>
This commit is contained in:
dependabot[bot] 2023-07-25 16:04:34 -04:00 коммит произвёл GitHub
Родитель ab461e3fb4
Коммит 630937a196
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 4 добавлений и 4 удалений

8
schemas/poetry.lock сгенерированный
Просмотреть файл

@ -631,13 +631,13 @@ plugins = ["importlib-metadata"]
[[package]]
name = "pytest"
version = "7.3.1"
version = "7.4.0"
description = "pytest: simple powerful testing with Python"
optional = false
python-versions = ">=3.7"
files = [
{file = "pytest-7.3.1-py3-none-any.whl", hash = "sha256:3799fa815351fea3a5e96ac7e503a96fa51cc9942c3753cda7651b93c1cfa362"},
{file = "pytest-7.3.1.tar.gz", hash = "sha256:434afafd78b1d78ed0addf160ad2b77a30d35d4bdf8af234fe621919d9ed15e3"},
{file = "pytest-7.4.0-py3-none-any.whl", hash = "sha256:78bf16451a2eb8c7a2ea98e32dc119fd2aa758f1d5d66dbf0a59d69a3969df32"},
{file = "pytest-7.4.0.tar.gz", hash = "sha256:b4bf8c45bd59934ed84001ad51e11b4ee40d40a1229d2c79f9c592b0a3f6bd8a"},
]
[package.dependencies]
@ -649,7 +649,7 @@ pluggy = ">=0.12,<2.0"
tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""}
[package.extras]
testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "xmlschema"]
testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"]
[[package]]
name = "pywin32-ctypes"