ITADN

Bump pytest from 7.1.3 to 7.2.2

#578Pull Requestdependabot[bot] 创建于 2023-03-06
D
dependabot[bot]commented
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.3 to 7.2.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>7.2.2</h2> <h1>pytest 7.2.2 (2023-03-03)</h1> <h2>Bug Fixes</h2> <ul> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10533">#10533</a>: Fixed <code>pytest.approx</code>{.interpreted-text role=&quot;func&quot;} handling of dictionaries containing one or more values of [0.0]{.title-ref}.</li> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10592">#10592</a>: Fixed crash if [--cache-show]{.title-ref} and [--help]{.title-ref} are passed at the same time.</li> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10597">#10597</a>: Fixed bug where a fixture method named <code>teardown</code> would be called as part of <code>nose</code> teardown stage.</li> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10626">#10626</a>: Fixed crash if <code>--fixtures</code> and <code>--help</code> are passed at the same time.</li> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10660">#10660</a>: Fixed :py<code>pytest.raises</code>{.interpreted-text role=&quot;func&quot;} to return a 'ContextManager' so that type-checkers could narrow <code>pytest.raises(...) if ... else nullcontext()</code> down to 'ContextManager' rather than 'object'.</li> </ul> <h2>Improved Documentation</h2> <ul> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10690">#10690</a>: Added [CI]{.title-ref} and [BUILD_NUMBER]{.title-ref} environment variables to the documentation.</li> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10721">#10721</a>: Fixed entry-points declaration in the documentation example using Hatch.</li> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10753">#10753</a>: Changed wording of the module level skip to be very explicit about not collecting tests and not executing the rest of the module.</li> </ul> <h2>7.2.1</h2> <h1>pytest 7.2.1 (2023-01-13)</h1> <h2>Bug Fixes</h2> <ul> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10452">#10452</a>: Fix 'importlib.abc.TraversableResources' deprecation warning in Python 3.12.</li> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10457">#10457</a>: If a test is skipped from inside a fixture, the test summary now shows the test location instead of the fixture location.</li> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10506">#10506</a>: Fix bug where sometimes pytest would use the file system root directory as <code>rootdir &lt;rootdir&gt;</code>{.interpreted-text role=&quot;ref&quot;} on Windows.</li> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10607">#10607</a>: Fix a race condition when creating junitxml reports, which could occur when multiple instances of pytest execute in parallel.</li> <li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10641">#10641</a>: Fix a race condition when creating or updating the stepwise plugin's cache, which could occur when multiple xdist worker nodes try to simultaneously update the stepwise plugin's cache.</li> </ul> <h2>7.2.0</h2> <h1>pytest 7.2.0 (2022-10-23)</h1> <h2>Deprecations</h2> <ul> <li> <p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10012">#10012</a>: Update <code>pytest.PytestUnhandledCoroutineWarning</code>{.interpreted-text role=&quot;class&quot;} to a deprecation; it will raise an error in pytest 8.</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10396">#10396</a>: pytest no longer depends on the <code>py</code> library. <code>pytest</code> provides a vendored copy of <code>py.error</code> and <code>py.path</code> modules but will use the <code>py</code> library if it is installed. If you need other <code>py.*</code> modules, continue to install the deprecated <code>py</code> library separately, otherwise it can usually be removed as a dependency.</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/4562">#4562</a>: Deprecate configuring hook specs/impls using attributes/marks.</p> <p>Instead use :py<code>pytest.hookimpl</code>{.interpreted-text role=&quot;func&quot;} and :py<code>pytest.hookspec</code>{.interpreted-text role=&quot;func&quot;}. For more details, see the <code>docs &lt;legacy-path-hooks-deprecated&gt;</code>{.interpreted-text role=&quot;ref&quot;}.</p> </li> <li> <p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9886">#9886</a>: The functionality for running tests written for <code>nose</code> has been officially deprecated.</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/4191e0259805acbc499d326441c98e2b950637f1"><code>4191e02</code></a> Prepare release version 7.2.2</li> <li><a href="https://github.com/pytest-dev/pytest/commit/eb50c6ce9990c322f7ec1d25c8433456aa8fd7f6"><code>eb50c6c</code></a> [7.2.x] Normalize how changelog entries are written (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10790">#10790</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/9693556f27ee77ac74c380943b9b8e5b926edcf1"><code>9693556</code></a> [7.2.x] Fix test_cmdline_python_namespace_package (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10789">#10789</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/e8e7d44a4c28fc608ada23030f2883b922155218"><code>e8e7d44</code></a> [7.2.x] made minor updates to fixtures docs (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10778">#10778</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/2fd4549db50e0086ce163654c8e060478111f05a"><code>2fd4549</code></a> [7.2.x] docs: be more explicit about module level skip preventing collection ...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/cee8d6f274213f790ca286cb2d0b9390c6234c6c"><code>cee8d6f</code></a> [7.2.x] Update import mode documentation to not refer to <strong>import</strong>() anymore...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/79108bf9a37aebe1879c545cdf926251772cc05e"><code>79108bf</code></a> [7.2.x] add CI and BUILD_NUMBER env var in docs (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10750">#10750</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/779a87aada33af444f14841a04344016a087669e"><code>779a87a</code></a> [7.2.x] Update open training (<a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10740">#10740</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/60216810d938ea574b81761782d902309fd77ffd"><code>6021681</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/10734">#10734</a> from pytest-dev/backport-10725-to-7.2.x</li> <li><a href="https://github.com/pytest-dev/pytest/commit/37e410fce841635c6d3b4ba6b37c6a8df360b40a"><code>37e410f</code></a> [7.2.x] Fix entry-points declaration in the documentation example using Hatch</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/7.1.3...7.2.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.1.3&new-version=7.2.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 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>
合并状态:未合并 0 条评论