Open Bug 2008834 Opened 1 day ago

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

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

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

Bump hypothesis from 6.112.0 to 6.150.0 in /tools

Bumps hypothesis from 6.112.0 to 6.150.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.150.0</h2>
<p>This release adds a "min_leaves" argument to "recursive()", which
ensures that generated recursive structures have at least the
specified number of leaf nodes (issue <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4205">#4205</a>).</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changelog.html#v6-150-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.149.1</h2>
<p>Add type hints to an internal class.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changelog.html#v6-149-1">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.149.0</h2>
<p>This release extends the explain-phase "# or any other generated
value" comments to sub-arguments within "builds()", "tuples()", and
"fixed_dictionaries()".</p>
<p>Previously, these comments only appeared on top-level test arguments.
Now, when the explain phase determines that a sub-argument can vary
freely without affecting the test failure, you'll see comments like:</p>
<p>Falsifying example: test_foo(
obj=MyClass(
x=0, # or any other generated value
y=True,
),
data=(
'', # or any other generated value
42,
),
)</p>
<p>This makes it easier to understand which parts of complex inputs
actually matter for reproducing a failure.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changelog.html#v6-149-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.148.13</h2>
<p>Clean up an internal helper.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changelog.html#v6-148-13">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.148.12</h2>
<p>This patch fixes "from_type()" to properly handle parameterized type
aliases created with Python 3.12+'s <strong>PEP 695</strong> "type" statement. For
example, "st.from_type(A[int])" where "type A[T] = list[T]" now
correctly resolves to "lists(integers())" instead of raising a
"TypeError" (issue <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4628">#4628</a>).</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changelog.html#v6-148-12">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/7799c3fea7bc9e8356cc6c316e9ad329a92917b3"><code>7799c3f</code></a> Bump hypothesis-python version to 6.150.0 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/e5f991914d2ef2cf0af00fdd8f27ca6fc9eb9398"><code>e5f9919</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4616">#4616</a> from Zac-HD/claude/add-min-leaves-parameter-01XYPfen...</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/1458abea0ffb330c9798f3511a8bdb84a1a8b9d1"><code>1458abe</code></a> use a pbt test instead</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/39119d80b3c82facdba6a197bfade529e119f032"><code>39119d8</code></a> Merge branch 'master' into claude/add-min-leaves-parameter-01XYPfenzf6xuY64W4...</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/b6445506c174e24025a1b28c4aa9ca5e5f727d22"><code>b644550</code></a> Bump hypothesis-python version to 6.149.1 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/804733f8d0fa62306d29af690cba6b0845bf8914"><code>804733f</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4634">#4634</a> from Liam-DeVoe/state-typing</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/681ce5558bf65ab9ed2286e37d8f3fc11b9050d4"><code>681ce55</code></a> Merge branch 'master' into claude/add-min-leaves-parameter-01XYPfenzf6xuY64W4...</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/aadbfbcf27e03bb66f910c1802d835532f7dadde"><code>aadbfbc</code></a> Merge branch 'master' into state-typing</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/2e7d5e67e9c89b03efaf090c363d4296e7ff7256"><code>2e7d5e6</code></a> type <code>test</code></li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/074893e3f6e0ee5181e5ff56e4100ac7ab40fc01"><code>074893e</code></a> Bump hypothesis-python version to 6.149.0 and update changelog</li>
<li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.112.0...hypothesis-python-6.150.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>

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