Closed Bug 1770261 Opened 3 years ago Closed 3 years ago

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

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

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

Bump hypothesis from 6.31.3 to 6.46.7 in /tools

Bumps hypothesis from 6.31.3 to 6.46.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.46.7</h2>
<p>This patch updates the type annotations for "tuples()" and "one_of()"
so that type-checkers require its arguments to be positional-only, and
so that it no longer fails under pyright-strict mode (see issue
<a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3348">#3348</a>). Additional changes are made to Hypothesis' internals improve
pyright scans.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-46-7">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.46.6</h2>
<p>This patch by Cheuk Ting Ho adds support for <strong>PEP 655</strong> "Required"
and "NotRequired" as attributes of "TypedDict" in "from_type()" (issue
<a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3339">#3339</a>).</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-46-6">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.46.5</h2>
<p>This patch fixes "from_dtype()" with long-precision floating-point
datatypes (typecode "g"; see "numpy.typename()").</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-46-5">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.46.4</h2>
<p>This patch improves some error messages for custom signatures
containing invalid parameter names (issue <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3317">#3317</a>).</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-46-4">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.46.3</h2>
<p>This patch by Cheuk Ting Ho makes it an explicit error to call
"from_type()" or "register_type_strategy()" with types that have no
runtime instances (issue <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3280">#3280</a>).</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-46-3">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.46.2</h2>
<p>This patch fixes silently dropping examples when the "<a href="https://github.com/example"><code>@​example</code></a>"
decorator is applied to itself (issue <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3319">#3319</a>). This was always a weird
pattern, but now it works. Thanks to Ray Sogata, Keeri Tramm, and
Kevin Khuong for working on this patch!</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-46-2">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.46.1</h2>
<p>This patch fixes a rare bug where we could incorrectly treat "empty"
as a type annotation, if the callable had an explicitly assigned
"<strong>signature</strong>".</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-46-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/7a7b0e9ebacd4d179f9c4024070109f9f8348e98"><code>7a7b0e9</code></a> Bump hypothesis-python version to 6.46.7 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/b7a9c8930c4d3ee1b1ad775827b0447dd8a4ac19"><code>b7a9c89</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3349">#3349</a> from HypothesisWorks/fix-tuples-annotations</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/795f3b57a16ac742205740f716d37fad41f4ca91"><code>795f3b5</code></a> fix docstring typo</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/74674e0646c74113af2602e0ff7de04d0cb1a6f3"><code>74674e0</code></a> revert change to st.nothing() back to being partially-unknown</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/a883977009a7d86e12a5f2233051f17ce3d3bce4"><code>a883977</code></a> fix overly-narrow base annotation for one_of</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/5d5830d78586cfa4e7703a21876081f4419b2850"><code>5d5830d</code></a> fix inconsistent types in TupleStrategy</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/77fca5a7fabdb8d4770eba93138a8470f5b7a861"><code>77fca5a</code></a> fix partially-unknown sampled_from</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/626ddfb0cc00fe4676be3aff629353f86820dd9f"><code>626ddfb</code></a> replace overload bodies with ellipses</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/d0ce2418722207268dfbe51589ad32c058177001"><code>d0ce241</code></a> fix partially-unknown st.nothing()</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/367042543841340c598df61b140c5ddf697758c9"><code>3670425</code></a> fix mypy test</li>
<li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.31.3...hypothesis-python-6.46.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 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.