Closed Bug 1811619 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 38093 - Bump hypothesis from 6.31.3 to 6.63.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 38093 into mozilla-central (this bug is closed when the sync is complete).

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

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

Bump hypothesis from 6.31.3 to 6.63.0 in /tools

Bumps hypothesis from 6.31.3 to 6.63.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.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
"pytest.mark.xfail()".</p>
<p>Naturally you can also write ".via(...).xfail(...)", or
".xfail(...).via(...)", if you wish to note the provenance of
expected-failing examples.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-62-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.61.3</h2>
<p>This patch teaches our enhanced "get_type_hints()" function to 'see
through' "partial" application, allowing inference from type hints to
work in a few more cases which aren't (yet!) supported by the
standard-library version.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-61-3">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.61.2</h2>
<p>This patch improves our pretty-printing of failing examples, including
some refactoring to prepare for exciting future features.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-61-2">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<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><a href="https://github.com/HypothesisWorks/hypothesis/commit/fbd39bb6f30de4ccb9bdab8b54c8689b7d16efdd"><code>fbd39bb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3547">#3547</a> from sam-watts/add-name-to-range-indexes</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/95a9e0e348ed7b800de57b8afbcd85bc3e28d33a"><code>95a9e0e</code></a> Fix formatting, house-style thanks message</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/96d25abb502cb041ee2df62fa9f9b6b233bc507f"><code>96d25ab</code></a> fix test</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/6f07e5b47917628c0edb9fb6f167f8f4f6f59358"><code>6f07e5b</code></a> minor edits to RELEASE.rst</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/12ed20f3b94ef9b17532c8c4949bcbd2ada33228"><code>12ed20f</code></a> fmt</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/1ebae6f382e5d86b03a3bb4b3f4cd1b7f84639ad"><code>1ebae6f</code></a> make changes based on zac's suggestions</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/3ebe48fb2b688d8ce6cf2c7fe3219cdf5069031f"><code>3ebe48f</code></a> fmt</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/337e978bd7216df04a710a7e0e3a905a82ee6e85"><code>337e978</code></a> add release file</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/42e69dc20fc2a4ffb5f957e6e179420d3aeea8de"><code>42e69dc</code></a> add name to extra.pandas.range_indexes</li>
<li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.31.3...hypothesis-python-6.63.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: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.