[wpt-sync] Sync PR 30365 - Bump hypothesis from 6.14.0 to 6.18.0 in /tools
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(Not tracked)
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 30365 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/30365
Details from upstream follow.
b'dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>' wrote:
Bump hypothesis from 6.14.0 to 6.18.0 in /tools
Bumps hypothesis from 6.14.0 to 6.18.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.18.0</h2>
<p>This release teaches "from_type()" a neat trick: when resolving an
"typing.Annotated" type, if one of the annotations is a strategy
object we use that as the inferred strategy. For example:</p>
<p>PositiveInt = Annotated[int, st.integers(min_value=1)]</p>
<p>If there are multiple strategies, we use the last outer-most
annotation. See issue <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/2978">#2978</a> and pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3082">#3082</a> for discussion.</p>
<p><em>Requires Python 3.9 or later for</em> "get_type_hints(...,
include_extras=False)".</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-18-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.17.4</h2>
<p>This patch makes unique "arrays()" much more efficient, especially
when there are only a few valid elements - such as for eight-bit
integers (issue <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3066">#3066</a>).</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-17-4">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.17.3</h2>
<p>This patch fixes the repr of "array_shapes()".</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-17-3">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.17.2</h2>
<p>This patch wraps some internal helper code in our proxies decorator to
prevent mutations of method docstrings carrying over to other
instances of the respective methods.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-17-2">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.17.1</h2>
<p>This patch moves some internal helper code in preparation for issue
<a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3065">#3065</a>. There is no user-visible change, unless you depended on
undocumented internals.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-17-1">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.17.0</h2>
<p>This release adds type annotations to the stateful testing API.</p>
<p>Thanks to Ruben Opdebeeck for this contribution!</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-17-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.16.0</h2>
<p>This release adds the "DrawFn" type as a reusable type hint for the</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/5359fb2c9dce42abde84fb43cee18d5c3a8649ae"><code>5359fb2</code></a> Bump hypothesis-python version to 6.18.0 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/5846a1f5e19f89549c2f80788cdabd3ec018faf0"><code>5846a1f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3082">#3082</a> from HypothesisWorks/issue-2978</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/80b49d6be52c6b42cbcd1cebd68a8c01236b452f"><code>80b49d6</code></a> Get annotated types</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/79b1a19ee0a908322c224de11d93d3cf8e38671d"><code>79b1a19</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3083">#3083</a> from HypothesisWorks/create-pull-request/patch</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/2756b768d3e227fbeea130f71fe4838057b56a00"><code>2756b76</code></a> Update pinned dependencies</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/591031c7a3ae4a5789d1877b8cb6fa3365225d2f"><code>591031c</code></a> Resolves strategies from <code>Annotated</code> type</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/c4fb7c28ba7af68c7f78cb01c4642cdb51d826cc"><code>c4fb7c2</code></a> Bump hypothesis-python version to 6.17.4 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/8109b005011f6a2dc7ef70abf29355ae3b62811c"><code>8109b00</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3076">#3076</a> from Zac-HD/faster-uniq-arrays</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/60903d2a2c7927ad63a097125562d8c32497b6c0"><code>60903d2</code></a> Bump hypothesis-python version to 6.17.3 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/2d8a8db78da3059278cf535fedb1b0a94f186d39"><code>2d8a8db</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3078">#3078</a> from honno/honno/wrap-array-shapes</li>
<li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.14.0...hypothesis-python-6.18.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>
Assignee | ||
Updated•4 years ago
|
Description
•