Closed Bug 1934126 Opened 6 days ago Closed 5 days ago

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

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

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

Bump hypothesis from 6.112.0 to 6.121.0 in /tools

Bumps hypothesis from 6.112.0 to 6.121.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.121.0</h2>
<p>This release adds "BackgroundWriteDatabase", a new database backend
which defers writes on the wrapped database to a background thread.
This allows for low-overhead writes in performance-critical
environments like fuzz_one_input.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-121-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.120.0</h2>
<ul>
<li>
<p>This release changes our input distribution for low "max_examples".
Previously, we capped the size of inputs when generating at least
the first 10 inputs, with the reasoning that early inputs to a
property should be small. However, this meant properties with
"max_examples=10" would consistent entirely of small inputs. This
patch removes the hard lower bound so that inputs to these
properties are more representative of the input space.</p>
</li>
<li>
<p>When a user requests an interactive input via "strategy.example", we
generate and cache a batch of 100 inputs, returning the first one.
This can be expensive for large strategies or when only a few
examples are needed. This release improves the speed of
"strategy.example" by lowering the batch size to 10.</p>
</li>
</ul>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-120-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.119.4</h2>
<p>This patch fixes a bug since 6.99.13 - 2024-03-24 where only
interactively-generated values (via "data.draw") would be reported in
the "arguments" field of our observability output. Now, all values are
reported.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-119-4">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.119.3</h2>
<p>Hypothesis collects coverage information during the "shrink" and
"explain" phases in order to show a more informative error message. On
3.12+, this uses "sys.monitoring". This patch improves the performance
of coverage collection on 3.12+ by disabling events we don't need.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-119-3">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.119.2</h2>
<p>This patch refactors some internals to prepare for future work using
our IR (issue <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/3921">#3921</a>).</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-119-2">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.119.1</h2>
<p>This patch migrates some more internals (around generating novel
inputs) to the IR layer (issue <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/3921">#3921</a>).</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/c274b1ededa858d824883e91ddce803d49f433f6"><code>c274b1e</code></a> Bump hypothesis-python version to 6.121.0 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/65bd569ba12f64d41954ca76d3ef421fdf3f61f1"><code>65bd569</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4188">#4188</a> from tybug/background-db</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/c078ef120d89b2be0e357efdee6a43c3df54cbe7"><code>c078ef1</code></a> reword and fix docs</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/6f57508f56d2758cb21698f18feec7af70459d57"><code>6f57508</code></a> Merge branch 'master' into background-db</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/79ca435e8eebf61768465f90c360515e953a85c8"><code>79ca435</code></a> reword, skip emscripten test</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/32817c58ec7f483263decf5e294be5bc8086fe31"><code>32817c5</code></a> Bump hypothesis-python version to 6.120.0 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/bb098c7f24ef2bad2146f533775512d9942ffa0c"><code>bb098c7</code></a> deflake stateful test</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/12072f4cf52a8d6e4c91082eda53a45615bd4332"><code>12072f4</code></a> add BackgroundWriteDatabase</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/89d58f2849821f794778913bcd5ac108a738ee42"><code>89d58f2</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4186">#4186</a> from tybug/smaller-examples-batch</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/b5b08c1cd5408ad89e597e55bc0c771651498451"><code>b5b08c1</code></a> remove hard small cap lower bound</li>
<li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.112.0...hypothesis-python-6.121.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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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: 5 days ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.