Closed Bug 1812173 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 38154 - Bump hypothesis from 6.31.3 to 6.65.0 in /tools

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 38154 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/38154
Details from upstream follow.

dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> wrote:

Bump hypothesis from 6.31.3 to 6.65.0 in /tools

Bumps hypothesis from 6.31.3 to 6.65.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/HypothesisWorks/hypothesis/releases">hypothesis's releases</a>.</em></p>
<blockquote>
<h2>Hypothesis for Python - version 6.65.0</h2>
<p>Hypothesis now reports some failing inputs by showing the call which
constructed an object, rather than the repr of the object. This can
be helpful when the default repr does not include all relevant
details, and will unlock further improvements in a future version.</p>
<p>For now, we capture calls made via "builds()", and via
SearchStrategy.map().</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-65-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.64.0</h2>
<p>The Ghostwritter will now include type annotations on tests for type-
annotated code. If you want to force this to happen (or not happen),
pass a boolean to the new "annotate=" argument to the Python
functions, or the "--[no-]annotate" CLI flag.</p>
<p>Thanks to Nicolas Ganz for this new feature!</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-64-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.63.0</h2>
<p>"range_indexes()" now accepts a "name=" argument, to generate named
"pandas.RangeIndex" objects.</p>
<p>Thanks to Sam Watts for this new feature!</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-63-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.62.1</h2>
<p>This patch tweaks "xps.arrays()" internals to improve PyTorch
compatibility. Specifically, "torch.full()" does not accept integers
as the shape argument (n.b. technically "size" in torch), but such
behaviour is expected in internal code, so we copy the "torch" module
and patch in a working "full()" function.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-62-1">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.62.0</h2>
<p>A classic error when testing is to write a test function that can
never fail, even on inputs that aren't allowed or manually provided.
By analogy to the design pattern of:</p>
<p><a href="https://github.com/pytest"><code>@​pytest</code></a>.mark.parametrize(&quot;arg", [
..., # passing examples
pytest.param(..., marks=[pytest.mark.xfail]) # expected-failing input
])</p>
<p>we now support "<a href="https://github.com/example"><code>@​example</code></a>(...).xfail()", with the same (optional)
"condition", "reason", and "raises" arguments as</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/39e3fba78ed675733d5c405cef0c6db80c4818db"><code>39e3fba</code></a> Bump hypothesis-python version to 6.65.0 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/6191745d2c9096cc9e10676bf38868107843f33f"><code>6191745</code></a> De-flake test</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/c56d06999bd3c6f51766cb2905e8c2967cb969c3"><code>c56d069</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3540">#3540</a> from Zac-HD/creation-reprs</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/406eb02920029c1ba3ea8e8ed24e8dbac2a175a8"><code>406eb02</code></a> Bump hypothesis-python version to 6.64.0 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/3f545a6a359840a79b8541c78aeebb68f4965e58"><code>3f545a6</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3548">#3548</a> from ThunderKey/feature/add-annotations-to-ghostwriter</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/ae85e0e547881114017e541d038485364cd2b23f"><code>ae85e0e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3553">#3553</a> from HypothesisWorks/create-pull-request/patch</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/51d82daa34557924de055894f462607122f781ab"><code>51d82da</code></a> Update pinned dependencies</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/a515963d833c4e168a7f08a04945cfb4e4d1a0f4"><code>a515963</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3545">#3545</a> from adamatan/master</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/149d5903750e56c45b8172600fc61df70a56e6a0"><code>149d590</code></a> Remove the RELEASE file - not required for examples</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/ee56faf16206ea15b54df5341e387756503cef5f"><code>ee56faf</code></a> Bump hypothesis-python version to 6.63.0 and update changelog</li>
<li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.31.3...hypothesis-python-6.65.0">compare view</a></li>
</ul>
</details>
<br />

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.


<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>

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.