Skip to content

Commit

Permalink
Merge #4033
Browse files Browse the repository at this point in the history
4033: Bump pytest from 7.0.1 to 7.1.1 r=jenshnielsen a=dependabot[bot]

Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.0.1 to 7.1.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>7.1.1</h2>
<h1>pytest 7.1.1 (2022-03-17)</h1>
<h2>Bug Fixes</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9767">#9767</a>: Fixed a regression in pytest 7.1.0 where some conftest.py files outside of the source tree (e.g. in the [site-packages]{.title-ref} directory) were not picked up.</li>
</ul>
<h2>7.1.0</h2>
<h1>pytest 7.1.0 (2022-03-13)</h1>
<h2>Breaking Changes</h2>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/8838">#8838</a>: As per our policy, the following features have been deprecated in the 6.X series and are now
removed:</p>
<ul>
<li><code>pytest._fillfuncargs</code> function.</li>
<li><code>pytest_warning_captured</code> hook - use <code>pytest_warning_recorded</code> instead.</li>
<li><code>-k -foobar</code> syntax - use <code>-k 'not foobar'</code> instead.</li>
<li><code>-k foobar:</code> syntax.</li>
<li><code>pytest.collect</code> module - import from <code>pytest</code> directly.</li>
</ul>
<p>For more information consult
<a href="https://docs.pytest.org/en/latest/deprecations.html">Deprecations and Removals</a> in the docs.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9437">#9437</a>: Dropped support for Python 3.6, which reached <a href="https://devguide.python.org/#status-of-python-branches">end-of-life</a> at 2021-12-23.</p>
</li>
</ul>
<h2>Improvements</h2>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/5192">#5192</a>: Fixed test output for some data types where <code>-v</code> would show less information.</p>
<p>Also, when showing diffs for sequences, <code>-q</code> would produce full diffs instead of the expected diff.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9362">#9362</a>: pytest now avoids specialized assert formatting when it is detected that the default <code>__eq__</code> is overridden in <code>attrs</code> or <code>dataclasses</code>.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9536">#9536</a>: When <code>-vv</code> is given on command line, show skipping and xfail reasons in full instead of truncating them to fit the terminal width.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9644">#9644</a>: More information about the location of resources that led Python to raise <code>ResourceWarning</code>{.interpreted-text role=&quot;class&quot;} can now
be obtained by enabling <code>tracemalloc</code>{.interpreted-text role=&quot;mod&quot;}.</p>
<p>See <code>resource-warnings</code>{.interpreted-text role=&quot;ref&quot;} for more information.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9678">#9678</a>: More types are now accepted in the <code>ids</code> argument to <code>`@pytest.mark.parametrize</code>.`
Previously only [str]{.title-ref}, [float]{.title-ref}, [int]{.title-ref} and [bool]{.title-ref} were accepted;
now [bytes]{.title-ref}, [complex]{.title-ref}, [re.Pattern]{.title-ref}, [Enum]{.title-ref} and anything with a [__name__]{.title-ref} are also accepted.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9692">#9692</a>: <code>pytest.approx</code>{.interpreted-text role=&quot;func&quot;} now raises a <code>TypeError</code>{.interpreted-text role=&quot;class&quot;} when given an unordered sequence (such as <code>set</code>{.interpreted-text role=&quot;class&quot;}).</p>
<p>Note that this implies that custom classes which only implement <code>__iter__</code> and <code>__len__</code> are no longer supported as they don't guarantee order.</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/0ffe9e07422dfec72479a6d056154ec8b9b0dbae"><code>0ffe9e0</code></a> Prepare release version 7.1.1</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/6f2c1ec0358264f10394fd2459a2e2a00b492844"><code>6f2c1ec</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9784">#9784</a> from pytest-dev/backport-9768-to-7.1.x</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/a65c47a1a40dad1bb5ce0beb83657d492011a425"><code>a65c47a</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9783">#9783</a> from pytest-dev/backport-9780-to-7.1.x</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/30d995ed25e6d76e85da140663e6253fa5b41935"><code>30d995e</code></a> [pre-commit.ci] auto fixes from pre-commit.com hooks</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/10a14d13181fd69dd0eaf48bf5b3d389de896713"><code>10a14d1</code></a> [7.1.x] testing: fix tests when run under <code>-v</code> or <code>-vv</code></li>
<li><a href="https://github.com/pytest-dev/pytest/commit/f4cfc596c6574abf68ed49503fd1b8ef1484125d"><code>f4cfc59</code></a> [pre-commit.ci] auto fixes from pre-commit.com hooks</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/f1df8074b3d9185313752cbc29b88d889a1879d9"><code>f1df807</code></a> [7.1.x] config: restore pre-pytest 7.1.0 confcutdir exclusion behavior</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/7d4d1ecde6cdc3feae9ee076ee5aab4e05393fa6"><code>7d4d1ec</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pytest-dev/pytest/issues/9758">#9758</a> from pytest-dev/release-7.1.0</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/1dbffcc0b4d822b87ad9f90595ffab6d9beee769"><code>1dbffcc</code></a> [pre-commit.ci] auto fixes from pre-commit.com hooks</li>
<li><a href="https://github.com/pytest-dev/pytest/commit/d53a5fb37194faf63ee5d74606cc883138879bc4"><code>d53a5fb</code></a> Prepare release version 7.1.0</li>
<li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/7.0.1...7.1.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.0.1&new-version=7.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR 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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
bors[bot] and dependabot[bot] committed Mar 18, 2022
2 parents 3d44890 + 0f69033 commit ad5b12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ packaging==21.3
pluggy==1.0.0
py==1.11.0
pyparsing==3.0.7
pytest==7.0.1
pytest==7.1.1
pytest-cov==3.0.0
pytest-forked==1.4.0
pytest-mock==3.7.0
Expand Down

0 comments on commit ad5b12e

Please sign in to comment.