Closed Bug 1952071 Opened 21 days ago Closed 20 days ago

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

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

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

Bump hypothesis from 6.112.0 to 6.127.7 in /tools

Bumps hypothesis from 6.112.0 to 6.127.7.
<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.127.7</h2>
<p>Fix a type-hinting regression from version 6.125.1, where we would no
longer guarantee the type of the argument to ".filter" predicates
(issue <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4269">#4269</a>).</p>
<h1>x was previously Unknown, but is now correctly guaranteed to be int</h1>
<p>st.integers().filter(lambda x: x > 0)</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-127-7">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.127.6</h2>
<p>This patch tweaks the performance of the target phase, avoiding
aborting some test cases when it would be better to finish generating
them.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-127-6">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.127.5</h2>
<p>This patch fixes a bug where "from_type()" would error on certain
types involving "Protocol" (issue <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4194">#4194</a>).</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-127-5">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.127.4</h2>
<p>This patch updates our vendored list of top-level domains, which is
used by the provisional "domains()" strategy.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-127-4">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.127.3</h2>
<p>Improve shrinking of non-standard NaN float values (issue <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4277">#4277</a>).</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-127-3">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.127.2</h2>
<p>Adjust type hints for the pub-sub database implementation in version
6.126.0, and remove a remnant debug print in its implementation.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-127-2">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.127.1</h2>
<p>Improve the clarity of printing counterexamples in stateful testing,
by avoiding confusing "Bundle" references with equivalent values drawn
from a regular strategy.</p>
<p>For example, we now print:</p>
<p>instead of</p>
<p>if the "unrelated" rule draws from a regular strategy such as</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/33124796b7cdaa1642f8df10357202e4e203f00f"><code>3312479</code></a> Bump hypothesis-python version to 6.127.7 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/49986c17787dadf5fd84de8d7b127e0daf81bf64"><code>49986c1</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4287">#4287</a> from tybug/filter-typing</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/8d59b934fd771fab6d270b5b46151982182edb84"><code>8d59b93</code></a> more correct type hints for filter and map</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/0ce28fa5395da0a8ced804201855d70c370efd89"><code>0ce28fa</code></a> Bump hypothesis-python version to 6.127.6 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/bd43b64936ff532ee1d25740ad303c9dd8c82d81"><code>bd43b64</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4282">#4282</a> from tybug/target-extend</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/39d64554505a696fb2a144481d6cc83e5019ffdc"><code>39d6455</code></a> respect extend in the target phase</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/b8117fffcb7057df9adcdf464c4fc968608cd580"><code>b8117ff</code></a> Bump hypothesis-python version to 6.127.5 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/10295aede610abbe7fe994cea11b7f30fd6d7a62"><code>10295ae</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4285">#4285</a> from tybug/fromtype-forwardref-fix</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/531c9265232e66a38456dbd1607e73df25c6b9ca"><code>531c926</code></a> fix from_type error on certain protocols</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/aab0141e9df69fb46cdf90bc73ee62bb21b79ee0"><code>aab0141</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4284">#4284</a> from Zac-HD/test-on-39</li>
<li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.112.0...hypothesis-python-6.127.7">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: 20 days ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.