Open Bug 1758411 Opened 4 years ago

[wpt-sync] Sync PR 33098 - Bump hypothesis from 6.31.3 to 6.39.3 in /tools

Categories

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

task

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

Bump hypothesis from 6.31.3 to 6.39.3 in /tools

Bumps hypothesis from 6.31.3 to 6.39.3.
<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.39.3</h2>
<p>If the "shrink" phase is disabled, we now stop the "generate" phase as
soon as an error is found regardless of the value of the
"report_multiple_examples" setting, since that's probably what you
wanted (issue <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3244">#3244</a>).</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-39-3">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.39.2</h2>
<p>This patch clarifies rare error messages in "builds()" (issue <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3225">#3225</a>)
and "floats()" (issue <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3207">#3207</a>).</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-39-2">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.39.1</h2>
<p>This patch fixes a regression where the bound inner function
("your_test.hypothesis.inner_test") would be invoked with positional
arguments rather than passing them by name, which broke pytest-asyncio
(issue <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3245">#3245</a>).</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-39-1">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.39.0</h2>
<p>This release improves Hypothesis' handling of positional-only
arguments, which are now allowed "<a href="https://github.com/st"><code>@​st</code></a>.composite" strategies.</p>
<p>On Python 3.8 and later, the first arguments to "builds()" and
"from_model()" are now natively positional-only. In cases which were
already errors, the "TypeError" from incorrect usage will therefore be
raises immediately when the function is called, rather than when the
strategy object is used.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-39-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.38.0</h2>
<p>This release makes "floats()" error <em>consistently</em> when your floating-
point hardware has been configured to violate IEEE-754 for subnormal
numbers, instead of only when an internal assertion was tripped (issue
<a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3092">#3092</a>).</p>
<p>If this happens to you, passing "allow_subnormal=False" will suppress
the explicit error. However, we strongly recommend fixing the root
cause by disabling global-effect unsafe-math compiler options instead,
or at least consulting e.g. Simon Byrne's Beware of fast-math
explainer first.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-38-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.37.2</h2>
<p>This patch fixes a bug in stateful testing, where returning a single</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/d8c7f1e84f3cb1eee6e76af3201bb9bc52c9043b"><code>d8c7f1e</code></a> Bump hypothesis-python version to 6.39.3 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/ef463c1507eb9c4cc1e8387959b44ad8860775d8"><code>ef463c1</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3251">#3251</a> from Zac-HD/no-shrink-stop-early</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/f0805cb7c99fa7b62f972a903d7dac3c25c87422"><code>f0805cb</code></a> Bump hypothesis-python version to 6.39.2 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/951a8d28a444d649b3cd44794b3cf5f1d3ebe7ff"><code>951a8d2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3250">#3250</a> from Zac-HD/better-error-messages</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/84e4c71c597bef70b0b2cf353d9a0499be94111b"><code>84e4c71</code></a> Fix flaky test</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/12800188fc33171872229c04c04209d095489a6f"><code>1280018</code></a> Better <code>builds()</code> error message</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/3516845b05fdeed05fe21049c62f5ebc95c4e467"><code>3516845</code></a> Linkify Phase docs</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/62f584b6f73f545c23b53100eb41f0812cc27998"><code>62f584b</code></a> Shrinking disabled -> early stopping</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/418146bbcb91b9a5f59d02e5dba824475c50409e"><code>418146b</code></a> Clarify <code>floats()</code> error message</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/e8d729a58ce3dd3347550888138a4d8962087064"><code>e8d729a</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3248">#3248</a> from HypothesisWorks/create-pull-request/patch</li>
<li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.31.3...hypothesis-python-6.39.3">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>

You need to log in before you can comment on or make changes to this bug.