[wpt-sync] Sync PR 33763 - Bump hypothesis from 6.31.3 to 6.45.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 33763 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/33763
Details from upstream follow.
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> wrote:
Bump hypothesis from 6.31.3 to 6.45.0 in /tools
Bumps hypothesis from 6.31.3 to 6.45.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.45.0</h2>
<p>This release updates "xps.indices()" by introducing an "allow_newaxis"
argument, defaulting to "False". If "allow_newaxis=True", indices can
be generated that add dimensions to arrays, which is achieved by the
indexer containing "None". This change is to support a specification
change that expand dimensions via indexing (data-apis/array-api#408).</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-45-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.44.0</h2>
<p>This release adds the option to pass strategies for generating names
for:</p>
<ul>
<li>
<p>"pandas.Index" created via "indexes()"</p>
</li>
<li>
<p>"pandas.Series" created via "series()"</p>
</li>
</ul>
<p>Hacked together by Sam Watts :)</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-44-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.43.3</h2>
<p>This patch updates the type annotations for "<a href="https://github.com/given"><code>@given</code></a>" so that type-
checkers will warn on mixed positional and keyword arguments, as well
as fixing issue <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3296">#3296</a>.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-43-3">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.43.2</h2>
<p>Fixed a type annotation for "pyright --strict" (issue <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3287">#3287</a>).</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-43-2">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.43.1</h2>
<p>This patch makes it an explicit error to call
"register_type_strategy()" with a Pydantic GenericModel and a
callable, because "GenericModel" isn't actually a generic type at
runtime and so you have to register each of the "parametrized
versions" (actually subclasses!) manually. See issue <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/2940">#2940</a> for more
details.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-43-1">The canonical version of these notes (with links) is on readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.43.0</h2>
<p>This release makes it an explicit error to apply "<a href="https://github.com/pytest"><code>@pytest</code></a>.fixture" to
a function which has already been decorated with "<a href="https://github.com/given"><code>@given</code></a>()".
Previously, "pytest" would convert your test to a fixture, and then
never run it.</p>
<p><em><a href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-43-0">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/57e626132a350c94cb1878d8756def301615977a"><code>57e6261</code></a> Bump hypothesis-python version to 6.45.0 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/9799fef26c7ea7432f0e9c57801fc3f47200c8ba"><code>9799fef</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3303">#3303</a> from honno/xps-indices-newaxis</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/5b8b46f4df19646a940f27a672648b5e253d8006"><code>5b8b46f</code></a> More verbose check</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/c343ca27981c90dfbe85c485d38e8154b3f140b0"><code>c343ca2</code></a> Check <code>numpy.array_api</code> doesn't support newaxis in tests</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/2947bffd1d693ce5b19ce0ae874707a1ebd6cffe"><code>2947bff</code></a> Bump hypothesis-python version to 6.44.0 and update changelog</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/dbf5e7da1cae002be5f81ed0bcd3ff92b285caba"><code>dbf5e7d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/HypothesisWorks/hypothesis/issues/3302">#3302</a> from sam-watts/pd-index-name</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/bd6d62b7413396122d0ad59522657ed8876a7b56"><code>bd6d62b</code></a> xfail running <code>test_generate_valid_indices</code> for <code>numpy.array_api</code></li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/af2514b9245481cbd187b5a17d8845b8c088c76c"><code>af2514b</code></a> Introduce <code>allow_newaxis</code> to <code>xps.indices()</code></li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/56b8e0eeaa8fbd9f169367fc65a6aff73cb4e2c8"><code>56b8e0e</code></a> fix formatting</li>
<li><a href="https://github.com/HypothesisWorks/hypothesis/commit/efa9db6b784e934d886c6a80f44697b52816c0ac"><code>efa9db6</code></a> simple tests</li>
<li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.31.3...hypothesis-python-6.45.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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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
•