Closed Bug 1762075 Opened 3 years ago Closed 3 years ago

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

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

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

Bump hypothesis from 6.31.3 to 6.40.0 in /tools

Bumps hypothesis from 6.31.3 to 6.40.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.40.0</h2>
<p>The Ghostwriter can now write tests which check that two or more
functions are equivalent on valid inputs, <em>or</em> raise the same type of
exception for invalid inputs (issue <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3267">#3267</a>).</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-40-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.39.6</h2>
<p>This patch makes some quality-of-life improvements to the Ghostwriter:
we guess the "text()" strategy for arguments named "text" (...obvious
in hindsight, eh?); and improved the error message if you accidentally
left in a "nothing()" or broke your rich install.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-39-6">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.39.5</h2>
<p>This patch improves our error detection and message when Hypothesis is
run on a Python implementation without support for "-0.0", which is
required for the "floats()" strategy but can be disabled by unsafe
compiler options (issue <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3265">#3265</a>).</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-39-5">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.39.4</h2>
<p>This patch tweaks some internal formatting. There is no user-visible
change.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-39-4">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<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>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/1aaec833e5ff69c0fbf58bc0012cc8589abd66f8"><code>1aaec83</code></a> Bump hypothesis-python version to 6.40.0 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/ab28549e49649f60a322f797f70310a2590a3895"><code>ab28549</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3273">#3273</a> from Zac-HD/ghostwrite-equivalent-with-errors</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/ec6144b9957b08ced4e57be848af4418fdbb453b"><code>ec6144b</code></a> Equivalent-or-same-error Ghostwriter</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/33624c9eb5faa53ff9bc4976e009593e3165c7be"><code>33624c9</code></a> Ghostwriter internal refactoring</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/554e6a142f07a049b0fba1ec0751f823f4e454b7"><code>554e6a1</code></a> Add CLI help text</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/a1ad5d621d8afacdb1683a8a2334339fb1f689be"><code>a1ad5d6</code></a> Bump hypothesis-python version to 6.39.6 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/5ab09a068c9bf77ed577a84fb636f3be88edaed2"><code>5ab09a0</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3270">#3270</a> from Zac-HD/ghostwriter-qol</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/546fc562859cef0262730fca7f99d6c7091b1964"><code>546fc56</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3272">#3272</a> from HypothesisWorks/create-pull-request/patch</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/c3b12746b020e9e4e1f60886b19dafc8f48cceb5"><code>c3b1274</code></a> Update pinned dependencies</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/70c99267adef3a8d6f3378c1242944c6dc5ff5e7"><code>70c9926</code></a> Bump hypothesis-python version to 6.39.5 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.40.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.